enable the resolver everywhere

master
Florent Daigniere 3 years ago
parent 0f25075fa3
commit f4cb9de460

@ -33,8 +33,11 @@ services:
volumes: volumes:
- "{{ root }}/certs:/certs" - "{{ root }}/certs:/certs"
- "{{ root }}/overrides/nginx:/overrides:ro" - "{{ root }}/overrides/nginx:/overrides:ro"
{% if resolver_enabled %} {% if resolver_enabled %}
- resolver
dns:
- {{ dns }}
resolver: resolver:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-{{ version }}} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-{{ version }}}
env_file: {{ env }} env_file: {{ env }}
@ -57,6 +60,11 @@ services:
- "{{ root }}/dkim:/dkim" - "{{ root }}/dkim:/dkim"
depends_on: depends_on:
- redis - redis
{% if resolver_enabled %}
- resolver
dns:
- {{ dns }}
{% endif %}
imap: imap:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-{{ version }}} image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-{{ version }}}

Loading…
Cancel
Save