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