|
|
@ -31,15 +31,6 @@ services:
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: {{ front_replicas }}
|
|
|
|
replicas: {{ front_replicas }}
|
|
|
|
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
resolver:
|
|
|
|
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-{{ version }}}
|
|
|
|
|
|
|
|
env_file: {{ env }}
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
ipv4_address: {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin:
|
|
|
|
admin:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
@ -69,10 +60,6 @@ services:
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: {{ smtp_replicas }}
|
|
|
|
replicas: {{ smtp_replicas }}
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
antispam:
|
|
|
|
antispam:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
@ -83,10 +70,6 @@ services:
|
|
|
|
- "{{ root }}/overrides/rspamd:/etc/rspamd/override.d"
|
|
|
|
- "{{ root }}/overrides/rspamd:/etc/rspamd/override.d"
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
replicas: 1
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Optional services
|
|
|
|
# Optional services
|
|
|
|
{% if antivirus_enabled %}
|
|
|
|
{% if antivirus_enabled %}
|
|
|
@ -97,10 +80,6 @@ services:
|
|
|
|
- "{{ root }}/filter:/data"
|
|
|
|
- "{{ root }}/filter:/data"
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
replicas: 1
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if webdav_enabled %}
|
|
|
|
{% if webdav_enabled %}
|
|
|
@ -121,10 +100,6 @@ services:
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
replicas: 1
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if webmail_type != 'none' %}
|
|
|
|
{% if webmail_type != 'none' %}
|
|
|
|