mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-21 07:41:09 +02:00
10 lines
466 B
Django/Jinja
10 lines
466 B
Django/Jinja
{# This template needs to be included in docker-compose.yml containers #}
|
|
networks:
|
|
{% if applications | is_feature_enabled('central_database',application_id) | bool and database_type is defined %}
|
|
{{ applications[ 'svc-db-' ~ database_type ].network }}:
|
|
{% endif %}
|
|
{% if applications | is_feature_enabled('ldap',application_id) | bool and applications['svc-db-openldap'].network.docker|bool %}
|
|
svc-db-openldap:
|
|
{% endif %}
|
|
default:
|
|
{{ "\n" }} |