1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-18 03:21:36 +02:00

enable the resolver everywhere

This commit is contained in:
Florent Daigniere 2022-01-06 09:42:59 +01:00
parent 0f25075fa3
commit f4cb9de460

View File

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