1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/docs/compose/docker-compose.yml

118 lines
2.4 KiB
YAML
Raw Normal View History

2019-01-16 21:01:09 +02:00
# WARNING: this file is being deprecated over the new setup utility, found at https://setup.mailu.io
version: '2'
services:
front:
image: mailu/nginx:$VERSION
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
logging:
driver: $LOG_DRIVER
ports:
- "$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"
volumes:
- "$ROOT/certs:/certs"
- "$ROOT/overrides/nginx:/overrides:ro"
redis:
2017-11-13 00:23:54 +02:00
image: redis:alpine
2016-05-30 22:52:38 +02:00
restart: always
volumes:
- "$ROOT/redis:/data"
imap:
2016-10-28 23:30:25 +02:00
image: mailu/dovecot:$VERSION
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/mail:/mail"
- "$ROOT/overrides/dovecot:/overrides:ro"
depends_on:
- front
smtp:
2016-10-28 23:30:25 +02:00
image: mailu/postfix:$VERSION
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/mailqueue:/queue"
- "$ROOT/overrides/postfix:/overrides:ro"
depends_on:
- front
antispam:
2016-10-28 23:30:25 +02:00
image: mailu/rspamd:$VERSION
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/var/lib/rspamd"
- "$ROOT/dkim:/dkim:ro"
- "$ROOT/overrides/rspamd:/etc/rspamd/override.d:ro"
depends_on:
- front
antivirus:
image: mailu/$ANTIVIRUS:$VERSION
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/data"
2016-11-30 15:02:36 +02:00
webdav:
image: mailu/$WEBDAV:$VERSION
restart: always
env_file: .env
volumes:
- "$ROOT/dav:/data"
admin:
2016-10-28 23:30:25 +02:00
image: mailu/admin:$VERSION
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
2016-11-01 11:54:32 +02:00
- "$ROOT/data:/data"
- "$ROOT/dkim:/dkim"
depends_on:
- redis
webmail:
2016-10-28 23:30:25 +02:00
image: "mailu/$WEBMAIL:$VERSION"
2016-05-30 22:52:38 +02:00
restart: always
env_file: .env
volumes:
- "$ROOT/webmail:/data"
depends_on:
- imap
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
env_file: .env
2018-12-11 17:40:36 +02:00
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: $SUBNET