-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
40 lines (38 loc) · 885 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "3"
services:
mailship:
build: .
image: behringer24/mailship
environment:
POSTFIXADMIN_SETUP_PASSWORD:
SSL_CERT: /etc/dovecot/private/dovecot.pem
SSL_KEY: /etc/dovecot/private/dovecot.key
MAIL_HOST: example.com
POSTMASTER_ADDRESS: postmaster@example.com
volumes:
- mail_dir:/var/vmail
- spool_mail:/var/spool/mail
- spool_postfix:/var/spool/postfix
- sqlite:/etc/postfix/sqlite
# Uncomment to use postfixadmin behind a reverse proxy but
# expose the mail ports directly
# expose:
# - 80:
ports:
- "80:80"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "995:995"
- "4190:4190"
- "11334:11334"
restart: always
container_name: mailship
volumes:
mail_dir:
spool_mail:
spool_postfix:
sqlite: