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:
|
2022-07-14 14:00:06 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}nginx:${MAILU_VERSION:-local}
|
2018-10-25 16:35:53 +02:00
|
|
|
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:
|
2022-07-14 14:00:06 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-local}
|
2018-10-25 16:35:53 +02:00
|
|
|
restart: always
|
2018-10-24 11:02:28 +02:00
|
|
|
env_file: mailu.env
|
|
|
|
volumes:
|
|
|
|
- "/mailu/data:/data"
|
|
|
|
- "/mailu/dkim:/dkim"
|
2022-01-06 12:37:18 +02:00
|
|
|
dns:
|
|
|
|
- 192.168.203.254
|
2018-10-24 11:02:28 +02:00
|
|
|
depends_on:
|
|
|
|
- redis
|
2022-01-06 12:37:18 +02:00
|
|
|
- resolver
|
2018-10-24 11:02:28 +02:00
|
|
|
|
|
|
|
imap:
|
2022-07-14 14:00:06 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-local}
|
2018-10-25 16:35:53 +02:00
|
|
|
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:
|
2022-07-14 14:00:06 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-local}
|
2018-10-25 16:35:53 +02:00
|
|
|
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:
|
2022-07-14 14:00:06 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-local}
|
2018-10-25 16:35:53 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
webdav:
|
2022-07-14 14:00:06 +02:00
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-local}
|
2018-10-25 16:35:53 +02:00
|
|
|
restart: always
|
|
|
|
env_file: mailu.env
|
|
|
|
volumes:
|
|
|
|
- "/mailu/dav:/data"
|
2018-10-24 11:02:28 +02:00
|
|
|
|
2022-01-06 12:37:18 +02:00
|
|
|
resolver:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-local}
|
|
|
|
env_file: mailu.env
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: 192.168.203.254
|
2018-10-24 11:02:28 +02:00
|
|
|
|
|
|
|
# Webmail
|
2018-12-06 16:44:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
driver: bridge
|
|
|
|
ipam:
|
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 192.168.203.0/24
|