|
|
@ -29,6 +29,15 @@ services:
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
replicas: 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
resolver:
|
|
|
|
|
|
|
|
image: mailu/unbound:{{ version }}
|
|
|
|
|
|
|
|
env_file: {{ env }}
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
ipv4_address: {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
admin:
|
|
|
|
admin:
|
|
|
|
image: mailu/admin:{{ version }}
|
|
|
|
image: mailu/admin:{{ version }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
@ -63,6 +72,10 @@ services:
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: 1
|
|
|
|
replicas: 1
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
# Optional services
|
|
|
|
# Optional services
|
|
|
|
{% if antispam_enabled %}
|
|
|
|
{% if antispam_enabled %}
|
|
|
@ -77,6 +90,10 @@ 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 %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if antivirus_enabled %}
|
|
|
|
{% if antivirus_enabled %}
|
|
|
@ -87,6 +104,10 @@ 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 %}
|
|
|
@ -107,6 +128,10 @@ 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' %}
|
|
|
|