Implemented pre-defined subnets for docker due to network clashes

This commit is contained in:
2025-02-04 16:43:34 +01:00
parent aaac98249c
commit cb6a42e97d
7 changed files with 84 additions and 11 deletions

View File

@@ -8,4 +8,11 @@ networks:
central_ldap:
{% endif %}
default:
{% if application_id in networks.local and networks.local[application_id].subnet is defined %}
driver: bridge
ipam:
driver: default
config:
- subnet: {{networks.local[application_id].subnet}}
{% endif %}
{{ "\n" }}