|
|
@ -13,6 +13,12 @@ services:
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/redis:/data"
|
|
|
|
- "{{ root }}/redis:/data"
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
|
|
|
- resolver
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
# Core services
|
|
|
|
# Core services
|
|
|
|
front:
|
|
|
|
front:
|
|
|
@ -34,6 +40,7 @@ services:
|
|
|
|
- "{{ root }}/certs:/certs"
|
|
|
|
- "{{ root }}/certs:/certs"
|
|
|
|
- "{{ root }}/overrides/nginx:/overrides:ro"
|
|
|
|
- "{{ root }}/overrides/nginx:/overrides:ro"
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- resolver
|
|
|
|
- resolver
|
|
|
|
dns:
|
|
|
|
dns:
|
|
|
|
- {{ dns }}
|
|
|
|
- {{ dns }}
|
|
|
@ -75,6 +82,11 @@ services:
|
|
|
|
- "{{ root }}/overrides/dovecot:/overrides:ro"
|
|
|
|
- "{{ root }}/overrides/dovecot:/overrides:ro"
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- front
|
|
|
|
- front
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
- resolver
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
smtp:
|
|
|
|
smtp:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-{{ version }}}
|
|
|
@ -130,6 +142,12 @@ services:
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/dav:/data"
|
|
|
|
- "{{ root }}/dav:/data"
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
|
|
|
- resolver
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if fetchmail_enabled %}
|
|
|
|
{% if fetchmail_enabled %}
|
|
|
@ -158,6 +176,11 @@ services:
|
|
|
|
- "{{ root }}/overrides/{{ webmail_type }}:/overrides:ro"
|
|
|
|
- "{{ root }}/overrides/{{ webmail_type }}:/overrides:ro"
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- imap
|
|
|
|
- imap
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
|
|
|
|
- resolver
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
|
|
|
- {{ dns }}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|