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