|
|
@ -15,7 +15,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
# Core services
|
|
|
|
# Core services
|
|
|
|
front:
|
|
|
|
front:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/nginx:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}nginx:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
logging:
|
|
|
|
logging:
|
|
|
|
driver: {{ log_driver or 'json-file' }}
|
|
|
|
driver: {{ log_driver or 'json-file' }}
|
|
|
@ -33,7 +33,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
resolver:
|
|
|
|
resolver:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/unbound:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
default:
|
|
|
@ -41,7 +41,7 @@ services:
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
admin:
|
|
|
|
admin:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/admin:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
{% if not admin_enabled %}
|
|
|
|
{% if not admin_enabled %}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -54,7 +54,7 @@ services:
|
|
|
|
replicas: {{ admin_replicas }}
|
|
|
|
replicas: {{ admin_replicas }}
|
|
|
|
|
|
|
|
|
|
|
|
imap:
|
|
|
|
imap:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/dovecot:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/mail:/mail"
|
|
|
|
- "{{ root }}/mail:/mail"
|
|
|
@ -63,7 +63,7 @@ services:
|
|
|
|
replicas: {{ imap_replicas }}
|
|
|
|
replicas: {{ imap_replicas }}
|
|
|
|
|
|
|
|
|
|
|
|
smtp:
|
|
|
|
smtp:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/postfix:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
@ -75,7 +75,7 @@ services:
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
antispam:
|
|
|
|
antispam:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/filter:/var/lib/rspamd"
|
|
|
|
- "{{ root }}/filter:/var/lib/rspamd"
|
|
|
@ -91,7 +91,7 @@ services:
|
|
|
|
# Optional services
|
|
|
|
# Optional services
|
|
|
|
{% if antivirus_enabled %}
|
|
|
|
{% if antivirus_enabled %}
|
|
|
|
antivirus:
|
|
|
|
antivirus:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/clamav:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}clamav:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/filter:/data"
|
|
|
|
- "{{ root }}/filter:/data"
|
|
|
@ -105,7 +105,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if webdav_enabled %}
|
|
|
|
{% if webdav_enabled %}
|
|
|
|
webdav:
|
|
|
|
webdav:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/none:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}none:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/dav:/data"
|
|
|
|
- "{{ root }}/dav:/data"
|
|
|
@ -115,7 +115,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if fetchmail_enabled %}
|
|
|
|
{% if fetchmail_enabled %}
|
|
|
|
fetchmail:
|
|
|
|
fetchmail:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/fetchmail:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
@ -129,7 +129,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
{% if webmail_type != 'none' %}
|
|
|
|
{% if webmail_type != 'none' %}
|
|
|
|
webmail:
|
|
|
|
webmail:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/{{ webmail_type }}:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}{{ webmail_type }}:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/webmail:/data"
|
|
|
|
- "{{ root }}/webmail:/data"
|
|
|
|