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