You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
make it configurable
This commit is contained in:
@@ -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 %}
|
||||
|
@@ -58,6 +58,9 @@ WEBDAV={{ webdav_enabled or 'none' }}
|
||||
# Antivirus solution (value: clamav, none)
|
||||
ANTIVIRUS={{ antivirus_enabled or 'none' }}
|
||||
|
||||
# Scan Macros solution (value: true, false)
|
||||
SCAN_MACROS={{ oletools_enabled or 'false' }}
|
||||
|
||||
###################################
|
||||
# Mail settings
|
||||
###################################
|
||||
|
Reference in New Issue
Block a user