This commit is contained in:
2025-12-05 17:38:16 +01:00
parent f8a3b1df09
commit 4b3edfb97e

View File

@@ -31,9 +31,6 @@ services:
networks: networks:
# Swarm uses service discovery, but requires network connection # Swarm uses service discovery, but requires network connection
- default - default
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
# DNS is handled by Swarm's internal DNS resolver (the resolver service will be discoverable by name) # DNS is handled by Swarm's internal DNS resolver (the resolver service will be discoverable by name)
antispam: antispam:
@@ -50,9 +47,6 @@ services:
- default - default
- oletools - oletools
- clamav - clamav
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
antivirus: antivirus:
image: ${DOCKER_REGISTRY:-}clamav/clamav-debian:1.2.0-6 image: ${DOCKER_REGISTRY:-}clamav/clamav-debian:1.2.0-6
@@ -71,9 +65,6 @@ services:
timeout: 5s timeout: 5s
retries: 3 retries: 3
start_period: 10s start_period: 10s
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
fetchmail: fetchmail:
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-2024.06} image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-2024.06}
@@ -85,9 +76,7 @@ services:
- /share/docker_data/mailu3/data/fetchmail:/data - /share/docker_data/mailu3/data/fetchmail:/data
networks: networks:
- default # Connect to 'default' for service discovery - default # Connect to 'default' for service discovery
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
front: front:
# NOTE: 'extends' is removed. You must manually define logging or accept default. # NOTE: 'extends' is removed. You must manually define logging or accept default.
@@ -172,9 +161,7 @@ services:
timeout: 5s timeout: 5s
retries: 3 retries: 3
start_period: 10s start_period: 10s
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
imap: imap:
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-2024.06} image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-2024.06}
@@ -188,9 +175,7 @@ services:
networks: networks:
- default - default
- fts_attachments - fts_attachments
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
oletools: oletools:
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-2024.06} image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-2024.06}
@@ -213,9 +198,7 @@ services:
- /share/docker_data/mailu3/redis:/data - /share/docker_data/mailu3/redis:/data
networks: networks:
- default # Connect to default network - default # Connect to default network
deploy:
restart_policy:
condition: unless-stopped
resolver: resolver:
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-2024.06} image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-2024.06}
@@ -242,9 +225,7 @@ services:
# com.docker.stack.static_ips: 192.168.205.254 # com.docker.stack.static_ips: 192.168.205.254
# com.docker.stack.static_network: default # com.docker.stack.static_network: default
ipv4_address: 192.168.205.254 ipv4_address: 192.168.205.254
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
smtp: smtp:
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-2024.06} image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-2024.06}
@@ -257,9 +238,6 @@ services:
- /share/docker_data/mailu3/overrides/postfix:/overrides:ro - /share/docker_data/mailu3/overrides/postfix:/overrides:ro
networks: networks:
- default # Connect to default network - default # Connect to default network
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}
webdav: webdav:
image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-2024.06} image: ${DOCKER_REGISTRY:-}ghcr.io/mailu/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-2024.06}
@@ -285,6 +263,3 @@ services:
- /share/docker_data/mailu3/overrides/roundcube:/overrides:ro - /share/docker_data/mailu3/overrides/roundcube:/overrides:ro
networks: networks:
- webmail - webmail
deploy:
restart_policy:
condition: ${RESTART:-unless-stopped}