2018-10-24 11:02:28 +02:00
|
|
|
# This file is auto-generated by the Mailu configuration wizard.
|
|
|
|
# Please read the documentation before attempting any change.
|
|
|
|
# Generated for compose flavor
|
|
|
|
|
|
|
|
version: '3.6'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
# External dependencies
|
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
2018-10-25 16:35:53 +02:00
|
|
|
restart: always
|
2018-10-24 11:02:28 +02:00
|
|
|
volumes:
|
|
|
|
- "/mailu/redis:/data"
|
|
|
|
|
|
|
|
# Core services
|
|
|
|
front:
|
2018-10-25 16:35:53 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/nginx:${MAILU_VERSION:-master}
|
|
|
|
restart: always
|
2018-10-24 11:02:28 +02:00
|
|
|
env_file: mailu.env
|
2018-10-25 16:35:53 +02:00
|
|
|
logging:
|
|
|
|
driver: json-file
|
2018-10-24 11:02:28 +02:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:80:80"
|
|
|
|
- "127.0.0.1:443:443"
|
|
|
|
- "127.0.0.1:25:25"
|
|
|
|
- "127.0.0.1:465:465"
|
|
|
|
- "127.0.0.1:587:587"
|
|
|
|
- "127.0.0.1:110:110"
|
|
|
|
- "127.0.0.1:995:995"
|
|
|
|
- "127.0.0.1:143:143"
|
|
|
|
- "127.0.0.1:993:993"
|
|
|
|
volumes:
|
|
|
|
- "/mailu/certs:/certs"
|
|
|
|
|
|
|
|
admin:
|
2018-10-25 16:35:53 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/admin:${MAILU_VERSION:-master}
|
|
|
|
restart: always
|
2018-10-24 11:02:28 +02:00
|
|
|
env_file: mailu.env
|
|
|
|
volumes:
|
|
|
|
- "/mailu/data:/data"
|
|
|
|
- "/mailu/dkim:/dkim"
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
|
|
|
|
imap:
|
2018-10-25 16:35:53 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/dovecot:${MAILU_VERSION:-master}
|
|
|
|
restart: always
|
2018-10-24 11:02:28 +02:00
|
|
|
env_file: mailu.env
|
|
|
|
volumes:
|
|
|
|
- "/mailu/mail:/mail"
|
|
|
|
- "/mailu/overrides:/overrides"
|
|
|
|
depends_on:
|
|
|
|
- front
|
|
|
|
|
|
|
|
smtp:
|
2018-10-25 16:35:53 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/postfix:${MAILU_VERSION:-master}
|
|
|
|
restart: always
|
2018-10-24 11:02:28 +02:00
|
|
|
env_file: mailu.env
|
|
|
|
volumes:
|
|
|
|
- "/mailu/overrides:/overrides"
|
|
|
|
depends_on:
|
|
|
|
- front
|
|
|
|
|
2018-10-25 14:27:09 +02:00
|
|
|
antispam:
|
2018-10-25 16:35:53 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/rspamd:${MAILU_VERSION:-master}
|
|
|
|
restart: always
|
2018-10-25 14:27:09 +02:00
|
|
|
env_file: mailu.env
|
|
|
|
volumes:
|
|
|
|
- "/mailu/filter:/var/lib/rspamd"
|
|
|
|
- "/mailu/dkim:/dkim"
|
|
|
|
- "/mailu/overrides/rspamd:/etc/rspamd/override.d"
|
|
|
|
depends_on:
|
|
|
|
- front
|
2018-10-24 11:02:28 +02:00
|
|
|
|
2018-10-25 16:35:53 +02:00
|
|
|
# Optional services
|
|
|
|
|
2018-10-24 11:02:28 +02:00
|
|
|
|
2018-10-25 16:35:53 +02:00
|
|
|
fetchmail:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/fetchmail:${MAILU_VERSION:-master}
|
|
|
|
restart: always
|
|
|
|
env_file: mailu.env
|
2018-10-24 11:02:28 +02:00
|
|
|
|
|
|
|
# Webmail
|