mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-20 23:31:10 +02:00
Solved docker network bug
This commit is contained in:
parent
8e4e497d2c
commit
f9aa1ed2a4
@ -5,12 +5,20 @@ networks:
|
|||||||
{{ applications[ 'svc-db-' ~ database_type ].network }}:
|
{{ applications[ 'svc-db-' ~ database_type ].network }}:
|
||||||
external: true
|
external: true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if applications | get_app_conf(application_id, 'features.ldap', False) and applications['svc-db-openldap'].network.docker | bool %}
|
{% if
|
||||||
|
applications | get_app_conf(application_id, 'features.ldap', False) and
|
||||||
|
applications | get_app_conf(application_id, 'network.docker', False)
|
||||||
|
%}
|
||||||
svc-db-openldap:
|
svc-db-openldap:
|
||||||
external: true
|
external: true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
default:
|
default:
|
||||||
{% if application_id in networks.local and networks.local[application_id].subnet is defined %}
|
{% if
|
||||||
|
application_id in networks.local and
|
||||||
|
networks.local[application_id].subnet is defined and
|
||||||
|
application_id != 'svc-db-openldap'
|
||||||
|
%}
|
||||||
|
name: {{ application_id }}
|
||||||
driver: bridge
|
driver: bridge
|
||||||
ipam:
|
ipam:
|
||||||
driver: default
|
driver: default
|
||||||
|
Loading…
x
Reference in New Issue
Block a user