mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Implemented pre-defined subnets for docker due to network clashes
This commit is contained in:
@@ -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" }}
|
Reference in New Issue
Block a user