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
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-04-12 19:58:49 +02:00
|
|
|
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:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/certs:/certs
|
2016-06-25 12:30:21 +02:00
|
|
|
|
2016-05-29 15:54:34 +02:00
|
|
|
redis:
|
|
|
|
image: redis
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-05-29 15:54:34 +02:00
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/redis:/data
|
2016-02-24 08:44:49 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
imap:
|
|
|
|
build: dovecot
|
|
|
|
image: freeposte/dovecot
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-04-12 19:58:49 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
ports:
|
|
|
|
- "143:143"
|
|
|
|
- "993:993"
|
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/freeposte:/data
|
|
|
|
- /freeposte/mail:/mail
|
|
|
|
- /freeposte/certs:/certs
|
2016-03-02 23:31:44 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
smtp:
|
|
|
|
build: postfix
|
|
|
|
image: freeposte/postfix
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-04-12 19:58:49 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
ports:
|
|
|
|
- "25:25"
|
|
|
|
- "465:465"
|
|
|
|
- "587:587"
|
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/freeposte:/data
|
|
|
|
- /freeposte/certs:/certs
|
2016-02-24 08:44:49 +02:00
|
|
|
|
2016-05-29 15:54:34 +02:00
|
|
|
milter:
|
|
|
|
build: rmilter
|
|
|
|
image: freeposte/rmilter
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-05-29 15:54:34 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/filter:/data
|
2016-06-25 12:30:21 +02:00
|
|
|
|
2016-05-29 15:54:34 +02:00
|
|
|
antispam:
|
|
|
|
build: rspamd
|
|
|
|
image: freeposte/rspamd
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-05-29 15:54:34 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/filter:/var/lib/rspamd
|
2016-06-25 12:30:21 +02:00
|
|
|
|
2016-05-29 15:54:34 +02:00
|
|
|
antivirus:
|
|
|
|
build: clamav
|
|
|
|
image: freeposte/clamav
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-04-12 19:58:49 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/filter:/data
|
2016-04-12 19:58:49 +02:00
|
|
|
|
|
|
|
admin:
|
|
|
|
build: admin
|
|
|
|
image: freeposte/admin
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-04-12 19:58:49 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
2016-06-25 12:30:21 +02:00
|
|
|
- /freeposte/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
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-04-12 19:58:49 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/webmail:/data
|
2016-04-28 20:07:38 +02:00
|
|
|
|
|
|
|
fetchmail:
|
|
|
|
build: fetchmail
|
|
|
|
image: freeposte/fetchmail
|
2016-05-30 22:52:38 +02:00
|
|
|
restart: always
|
2016-04-28 20:07:38 +02:00
|
|
|
env_file: freeposte.env
|
|
|
|
volumes:
|
2016-06-12 11:32:24 +02:00
|
|
|
- /freeposte/freeposte:/data
|