|
|
@ -15,7 +15,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
# Core services
|
|
|
|
# Core services
|
|
|
|
front:
|
|
|
|
front:
|
|
|
|
image: mailu/nginx:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/nginx:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
logging:
|
|
|
|
logging:
|
|
|
|
driver: {{ log_driver or 'json-file' }}
|
|
|
|
driver: {{ log_driver or 'json-file' }}
|
|
|
@ -31,7 +31,7 @@ services:
|
|
|
|
replicas: {{ front_replicas }}
|
|
|
|
replicas: {{ front_replicas }}
|
|
|
|
|
|
|
|
|
|
|
|
admin:
|
|
|
|
admin:
|
|
|
|
image: mailu/admin:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/admin:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
{% if not admin_enabled %}
|
|
|
|
{% if not admin_enabled %}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -44,7 +44,7 @@ services:
|
|
|
|
replicas: {{ admin_replicas }}
|
|
|
|
replicas: {{ admin_replicas }}
|
|
|
|
|
|
|
|
|
|
|
|
imap:
|
|
|
|
imap:
|
|
|
|
image: mailu/dovecot:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/dovecot:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
# Default to 10.0.1.0/24
|
|
|
|
# Default to 10.0.1.0/24
|
|
|
@ -56,7 +56,7 @@ services:
|
|
|
|
replicas: {{ imap_replicas }}
|
|
|
|
replicas: {{ imap_replicas }}
|
|
|
|
|
|
|
|
|
|
|
|
smtp:
|
|
|
|
smtp:
|
|
|
|
image: mailu/postfix:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/postfix:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- POD_ADDRESS_RANGE={{ subnet }}
|
|
|
|
- POD_ADDRESS_RANGE={{ subnet }}
|
|
|
@ -68,7 +68,7 @@ services:
|
|
|
|
# Optional services
|
|
|
|
# Optional services
|
|
|
|
{% if antispam_enabled %}
|
|
|
|
{% if antispam_enabled %}
|
|
|
|
antispam:
|
|
|
|
antispam:
|
|
|
|
image: mailu/rspamd:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- POD_ADDRESS_RANGE={{ subnet }}
|
|
|
|
- POD_ADDRESS_RANGE={{ subnet }}
|
|
|
@ -82,7 +82,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if antivirus_enabled %}
|
|
|
|
{% if antivirus_enabled %}
|
|
|
|
antivirus:
|
|
|
|
antivirus:
|
|
|
|
image: mailu/clamav:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/clamav:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/filter:/data"
|
|
|
|
- "{{ root }}/filter:/data"
|
|
|
@ -92,7 +92,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if webdav_enabled %}
|
|
|
|
{% if webdav_enabled %}
|
|
|
|
webdav:
|
|
|
|
webdav:
|
|
|
|
image: mailu/none:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/none:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/dav:/data"
|
|
|
|
- "{{ root }}/dav:/data"
|
|
|
@ -102,7 +102,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if fetchmail_enabled %}
|
|
|
|
{% if fetchmail_enabled %}
|
|
|
|
fetchmail:
|
|
|
|
fetchmail:
|
|
|
|
image: mailu/fetchmail:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/fetchmail:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
@ -112,7 +112,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if webmail_type != 'none' %}
|
|
|
|
{% if webmail_type != 'none' %}
|
|
|
|
webmail:
|
|
|
|
webmail:
|
|
|
|
image: mailu/roundcube:{{ version }}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/roundcube:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/webmail:/data"
|
|
|
|
- "{{ root }}/webmail:/data"
|
|
|
|