You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/docker-compose.yml

71 lines
1.2 KiB
YAML

version: '2'
services:
http:
build: nginx
image: freeposte/reverse-proxy
env_file: freeposte.env
ports:
- "80:80"
- "443:443"
links:
- admin:admin
- webmail:webmail
volumes:
- /data/certs:/certs
imap:
build: dovecot
image: freeposte/dovecot
env_file: freeposte.env
ports:
- "143:143"
- "993:993"
volumes:
- /data/freeposte:/data
- /data/mail:/mail
- /data/certs:/certs
smtp:
build: postfix
image: freeposte/postfix
env_file: freeposte.env
ports:
- "25:25"
- "465:465"
- "587:587"
links:
- filter:lmtp
- imap:sasl
volumes:
- /data/freeposte:/data
- /data/logs:/logs
- /data/certs:/certs
filter:
build: amavis
image: freeposte/amavis
env_file: freeposte.env
links:
- imap:lmtp
volumes:
- /data/filter:/data
admin:
build: admin
image: freeposte/admin
env_file: freeposte.env
volumes:
- /data/freeposte:/data
webmail:
build: roundcube
image: freeposte/roundcube
env_file: freeposte.env
links:
- imap:imap
- smtp:smtp
volumes:
- /data/webmail:/data