2016-04-12 19:58:49 +02:00
|
|
|
version: '2'
|
2016-02-24 08:44:49 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
services:
|
2016-02-24 08:44:49 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
http:
|
|
|
|
build: nginx
|
|
|
|
image: freeposte/reverse-proxy
|
|
|
|
env_file: freeposte.env
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
2016-04-24 16:27:35 +02:00
|
|
|
links:
|
|
|
|
- webmail
|
|
|
|
- admin
|
2016-04-12 19:58:49 +02:00
|
|
|
volumes:
|
|
|
|
- /data/certs:/certs
|
2016-02-24 08:44:49 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
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
|
2016-03-02 23:31:44 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
smtp:
|
|
|
|
build: postfix
|
|
|
|
image: freeposte/postfix
|
|
|
|
env_file: freeposte.env
|
|
|
|
ports:
|
|
|
|
- "25:25"
|
|
|
|
- "465:465"
|
|
|
|
- "587:587"
|
|
|
|
volumes:
|
|
|
|
- /data/freeposte:/data
|
|
|
|
- /data/certs:/certs
|
2016-02-24 08:44:49 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
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
|
2016-04-24 18:08:23 +02:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
2016-04-12 19:58:49 +02:00
|
|
|
|
|
|
|
webmail:
|
|
|
|
build: roundcube
|
|
|
|
image: freeposte/roundcube
|
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
|
|
|
- /data/webmail:/data
|