|
|
@ -103,6 +103,7 @@ services:
|
|
|
|
- {{ dns }}
|
|
|
|
- {{ dns }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if oletools_enabled %}
|
|
|
|
oletools:
|
|
|
|
oletools:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-{{ version }}}
|
|
|
|
hostname: oletools
|
|
|
|
hostname: oletools
|
|
|
@ -115,21 +116,26 @@ services:
|
|
|
|
dns:
|
|
|
|
dns:
|
|
|
|
- {{ dns }}
|
|
|
|
- {{ dns }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
antispam:
|
|
|
|
antispam:
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-{{ version }}}
|
|
|
|
hostname: antispam
|
|
|
|
hostname: antispam
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
env_file: {{ env }}
|
|
|
|
env_file: {{ env }}
|
|
|
|
|
|
|
|
{% if oletools_enabled %}
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- default
|
|
|
|
- noinet
|
|
|
|
- noinet
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "{{ root }}/filter:/var/lib/rspamd"
|
|
|
|
- "{{ root }}/filter:/var/lib/rspamd"
|
|
|
|
- "{{ root }}/overrides/rspamd:/etc/rspamd/override.d:ro"
|
|
|
|
- "{{ root }}/overrides/rspamd:/etc/rspamd/override.d:ro"
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- front
|
|
|
|
- front
|
|
|
|
|
|
|
|
{% if oletools_enabled %}
|
|
|
|
- oletools
|
|
|
|
- oletools
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
- redis
|
|
|
|
- redis
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
{% if resolver_enabled %}
|
|
|
|
- resolver
|
|
|
|
- resolver
|
|
|
@ -217,6 +223,8 @@ networks:
|
|
|
|
{% if ipv6_enabled %}
|
|
|
|
{% if ipv6_enabled %}
|
|
|
|
- subnet: {{ subnet6 }}
|
|
|
|
- subnet: {{ subnet6 }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if oletools_enabled %}
|
|
|
|
noinet:
|
|
|
|
noinet:
|
|
|
|
driver: bridge
|
|
|
|
driver: bridge
|
|
|
|
internal: true
|
|
|
|
internal: true
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|