1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
Mailu/docker-compose.yml
2016-04-28 20:07:38 +02:00

70 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:
- webmail
- admin
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"
volumes:
- /data/freeposte:/data
- /data/certs:/certs
filter:
build: amavis
image: freeposte/amavis
env_file: freeposte.env
volumes:
- /data/filter:/data
admin:
build: admin
image: freeposte/admin
env_file: freeposte.env
volumes:
- /data/freeposte:/data
- /var/run/docker.sock:/var/run/docker.sock:ro
webmail:
build: roundcube
image: freeposte/roundcube
env_file: freeposte.env
volumes:
- /data/webmail:/data
fetchmail:
build: fetchmail
image: freeposte/fetchmail
env_file: freeposte.env
volumes:
- /data/freeposte:/data