mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-17 14:04:24 +02:00
Optimized openldap network
This commit is contained in:
parent
67122800f3
commit
b6ee7b9f98
@ -11,12 +11,11 @@ networks:
|
||||
%}
|
||||
svc-db-openldap:
|
||||
external: true
|
||||
{% endif %}
|
||||
{% else %}
|
||||
default:
|
||||
{% if
|
||||
application_id in networks.local and
|
||||
networks.local[application_id].subnet is defined and
|
||||
application_id != 'svc-db-openldap'
|
||||
networks.local[application_id].subnet is defined
|
||||
%}
|
||||
name: {{ application_id }}
|
||||
driver: bridge
|
||||
@ -25,4 +24,5 @@ networks:
|
||||
config:
|
||||
- subnet: {{networks.local[application_id].subnet}}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{{ "\n" }}
|
Loading…
x
Reference in New Issue
Block a user