|
|
@ -29,7 +29,7 @@ services:
|
|
|
|
- "{{ root }}/certs:/certs"
|
|
|
|
- "{{ root }}/certs:/certs"
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
replicas: {{ front_replicas }}
|
|
|
|
replicas: {{ front_replicas }}
|
|
|
|
|
|
|
|
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
resolver:
|
|
|
|
resolver:
|
|
|
|
image: mailu/unbound:{{ version }}
|
|
|
|
image: mailu/unbound:{{ version }}
|
|
|
@ -56,8 +56,6 @@ services:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/dovecot:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/dovecot:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
# Default to 10.0.1.0/24
|
|
|
|
|
|
|
|
- POD_ADDRESS_RANGE={{ subnet }}
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/mail:/mail"
|
|
|
|
- "{{ root }}/mail:/mail"
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
@ -67,8 +65,6 @@ services:
|
|
|
|
smtp:
|
|
|
|
smtp:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/postfix:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/postfix:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- POD_ADDRESS_RANGE={{ subnet }}
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
- "{{ root }}/overrides:/overrides"
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
@ -81,8 +77,6 @@ services:
|
|
|
|
antispam:
|
|
|
|
antispam:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- POD_ADDRESS_RANGE={{ subnet }}
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/filter:/var/lib/rspamd"
|
|
|
|
- "{{ root }}/filter:/var/lib/rspamd"
|
|
|
|
- "{{ root }}/dkim:/dkim"
|
|
|
|
- "{{ root }}/dkim:/dkim"
|
|
|
|