Moved mailu subnet configuration to defaults_networks

This commit is contained in:
2025-02-03 15:10:03 +01:00
parent 83c84f6e86
commit b8d73f6b09
3 changed files with 4 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ services:
ipam:
driver: default
config:
- subnet: {{applications.mailu.subnet}}
- subnet: {{networks.local.mailu.subnet}}
radicale:
driver: bridge
webmail:

View File

@@ -15,7 +15,7 @@ LD_PRELOAD=/usr/lib/libhardened_malloc.so
SECRET_KEY={{mailu_secret_key}}
# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
SUBNET={{applications.mailu.subnet}}
SUBNET={{networks.local.mailu.subnet}}
# Main mail domain
DOMAIN={{applications.mailu.domain}}