You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
1.8 KiB
YAML
85 lines
1.8 KiB
YAML
6 years ago
|
# 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
|
||
6 years ago
|
restart: always
|
||
6 years ago
|
volumes:
|
||
|
- "/mailu/redis:/data"
|
||
|
|
||
|
# Core services
|
||
|
front:
|
||
6 years ago
|
image: ${DOCKER_ORG:-mailu}/nginx:${MAILU_VERSION:-master}
|
||
|
restart: always
|
||
6 years ago
|
env_file: mailu.env
|
||
6 years ago
|
logging:
|
||
|
driver: json-file
|
||
6 years ago
|
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:
|
||
6 years ago
|
image: ${DOCKER_ORG:-mailu}/admin:${MAILU_VERSION:-master}
|
||
|
restart: always
|
||
6 years ago
|
env_file: mailu.env
|
||
|
volumes:
|
||
|
- "/mailu/data:/data"
|
||
|
- "/mailu/dkim:/dkim"
|
||
|
depends_on:
|
||
|
- redis
|
||
|
|
||
|
imap:
|
||
6 years ago
|
image: ${DOCKER_ORG:-mailu}/dovecot:${MAILU_VERSION:-master}
|
||
|
restart: always
|
||
6 years ago
|
env_file: mailu.env
|
||
|
volumes:
|
||
|
- "/mailu/mail:/mail"
|
||
|
- "/mailu/overrides:/overrides"
|
||
|
depends_on:
|
||
|
- front
|
||
|
|
||
|
smtp:
|
||
6 years ago
|
image: ${DOCKER_ORG:-mailu}/postfix:${MAILU_VERSION:-master}
|
||
|
restart: always
|
||
6 years ago
|
env_file: mailu.env
|
||
|
volumes:
|
||
|
- "/mailu/overrides:/overrides"
|
||
|
depends_on:
|
||
|
- front
|
||
|
|
||
6 years ago
|
antispam:
|
||
6 years ago
|
image: ${DOCKER_ORG:-mailu}/rspamd:${MAILU_VERSION:-master}
|
||
|
restart: always
|
||
6 years ago
|
env_file: mailu.env
|
||
|
volumes:
|
||
|
- "/mailu/filter:/var/lib/rspamd"
|
||
|
- "/mailu/dkim:/dkim"
|
||
|
- "/mailu/overrides/rspamd:/etc/rspamd/override.d"
|
||
|
depends_on:
|
||
|
- front
|
||
6 years ago
|
|
||
6 years ago
|
# Optional services
|
||
|
|
||
6 years ago
|
|
||
6 years ago
|
fetchmail:
|
||
|
image: ${DOCKER_ORG:-mailu}/fetchmail:${MAILU_VERSION:-master}
|
||
|
restart: always
|
||
|
env_file: mailu.env
|
||
6 years ago
|
|
||
|
# Webmail
|