|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This file is auto-generated by the Mailu configuration wizard.
|
|
|
|
|
# Please read the documentation before attempting any change.
|
|
|
|
|
|
|
|
|
|
version: '3.7'
|
|
|
|
|
version: '3.6'
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
|
@ -18,7 +18,7 @@ services:
|
|
|
|
|
image: mailu/nginx:{{ version }}
|
|
|
|
|
restart: always
|
|
|
|
|
env_file: {{ env }}
|
|
|
|
|
env:
|
|
|
|
|
environment:
|
|
|
|
|
- TLS_FLAVOR={{ tls_flavor }}
|
|
|
|
|
- ADMIN={{ admin_enabled or 'false' }}
|
|
|
|
|
ports:
|
|
|
|
@ -30,10 +30,8 @@ services:
|
|
|
|
|
- "{{ bind6 }}:{{ port }}:{{ port }}"
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% if flavor in ('cert', 'mail') %}
|
|
|
|
|
volumes:
|
|
|
|
|
- "{{ root }}/certs:/certs"
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
admin:
|
|
|
|
|
image: mailu/admin:{{ version }}
|
|
|
|
@ -54,7 +52,6 @@ services:
|
|
|
|
|
restart: always
|
|
|
|
|
env_file: {{ env }}
|
|
|
|
|
volumes:
|
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
|
|
- "{{ root }}/mail:/mail"
|
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
|
depends_on:
|
|
|
|
@ -65,7 +62,6 @@ services:
|
|
|
|
|
restart: always
|
|
|
|
|
env_file: {{ env }}
|
|
|
|
|
volumes:
|
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
|
depends_on:
|
|
|
|
|
- front
|
|
|
|
@ -107,8 +103,6 @@ services:
|
|
|
|
|
image: mailu/fetchmail:{{ version }}
|
|
|
|
|
restart: always
|
|
|
|
|
env_file: {{ env }}
|
|
|
|
|
volumes:
|
|
|
|
|
- "{{ root }}/data:/data"
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
# Webmail
|
|
|
|
|