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
|
|
|
|
2017-09-24 14:01:26 +02:00
|
|
|
front:
|
|
|
|
image: mailu/nginx:$VERSION
|
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:
|
2017-10-22 16:13:13 +02:00
|
|
|
- "$BIND_ADDRESS4:80:80"
|
|
|
|
- "$BIND_ADDRESS4:443:443"
|
|
|
|
- "$BIND_ADDRESS4:110:110"
|
|
|
|
- "$BIND_ADDRESS4:143:143"
|
|
|
|
- "$BIND_ADDRESS4:993:993"
|
|
|
|
- "$BIND_ADDRESS4:995:995"
|
|
|
|
- "$BIND_ADDRESS4:25:25"
|
|
|
|
- "$BIND_ADDRESS4:465:465"
|
|
|
|
- "$BIND_ADDRESS4:587:587"
|
|
|
|
- "$BIND_ADDRESS6:80:80"
|
|
|
|
- "$BIND_ADDRESS6:443:443"
|
|
|
|
- "$BIND_ADDRESS6:110:110"
|
|
|
|
- "$BIND_ADDRESS6:143:143"
|
|
|
|
- "$BIND_ADDRESS6:993:993"
|
|
|
|
- "$BIND_ADDRESS6:995:995"
|
|
|
|
- "$BIND_ADDRESS6:25:25"
|
|
|
|
- "$BIND_ADDRESS6:465:465"
|
2017-11-05 17:55:37 +02:00
|
|
|
- "$BIND_ADDRESS6:587:587"
|
2016-04-12 19:58:49 +02:00
|
|
|
volumes:
|
2016-08-20 16:32:10 +02:00
|
|
|
- "$ROOT/certs:/certs"
|
2017-11-11 16:08:23 +02:00
|
|
|
depends_on:
|
|
|
|
- admin
|
2016-06-25 12:30:21 +02:00
|
|
|
|
2016-05-29 15:54:34 +02:00
|
|
|
redis:
|
2017-11-13 00:23:54 +02:00
|
|
|
image: redis:alpine
|
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-10-28 23:30:25 +02:00
|
|
|
image: mailu/dovecot:$VERSION
|
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-11-01 11:54:32 +02:00
|
|
|
- "$ROOT/data:/data"
|
2016-08-20 16:32:10 +02:00
|
|
|
- "$ROOT/mail:/mail"
|
|
|
|
- "$ROOT/overrides:/overrides"
|
2017-11-11 16:08:23 +02:00
|
|
|
depends_on:
|
|
|
|
- front
|
2016-03-02 23:31:44 +02:00
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
smtp:
|
2016-10-28 23:30:25 +02:00
|
|
|
image: mailu/postfix:$VERSION
|
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-11-01 11:54:32 +02:00
|
|
|
- "$ROOT/data:/data"
|
2016-08-20 16:32:10 +02:00
|
|
|
- "$ROOT/overrides:/overrides"
|
2017-11-11 16:08:23 +02:00
|
|
|
depends_on:
|
|
|
|
- front
|
2016-02-24 08:44:49 +02:00
|
|
|
|
2016-05-29 15:54:34 +02:00
|
|
|
antispam:
|
2016-10-28 23:30:25 +02:00
|
|
|
image: mailu/rspamd:$VERSION
|
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"
|
2017-11-08 01:26:08 +02:00
|
|
|
- "$ROOT/dkim:/dkim"
|
2017-11-05 18:23:40 +02:00
|
|
|
- "$ROOT/overrides/rspamd:/etc/rspamd/override.d"
|
2017-11-11 16:08:23 +02:00
|
|
|
depends_on:
|
|
|
|
- front
|
2016-06-25 12:30:21 +02:00
|
|
|
|
2016-05-29 15:54:34 +02:00
|
|
|
antivirus:
|
2017-06-25 18:15:47 +02:00
|
|
|
image: mailu/$ANTIVIRUS:$VERSION
|
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
|
|
|
|
2016-11-30 15:02:36 +02:00
|
|
|
webdav:
|
|
|
|
image: mailu/$WEBDAV:$VERSION
|
|
|
|
restart: always
|
|
|
|
env_file: .env
|
|
|
|
volumes:
|
|
|
|
- "$ROOT/dav:/data"
|
|
|
|
|
2016-04-12 19:58:49 +02:00
|
|
|
admin:
|
2016-10-28 23:30:25 +02:00
|
|
|
image: mailu/admin:$VERSION
|
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-11-01 11:54:32 +02:00
|
|
|
- "$ROOT/data:/data"
|
2016-08-20 16:32:10 +02:00
|
|
|
- "$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-10-28 23:30:25 +02:00
|
|
|
image: "mailu/$WEBMAIL:$VERSION"
|
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-10-28 23:30:25 +02:00
|
|
|
image: mailu/fetchmail:$VERSION
|
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-11-01 11:54:32 +02:00
|
|
|
- "$ROOT/data:/data"
|