mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-01 23:04:15 +02:00
10 lines
422 B
Django/Jinja
10 lines
422 B
Django/Jinja
{# This template needs to be included in docker-compose.yml containers #}
|
|
networks:
|
|
{% if applications[application_id].database.central_storage | bool and database_type is defined %}
|
|
central_{{ database_type }}:
|
|
{% endif %}
|
|
{% if applications[application_id].get('ldap', {}).get('enabled', false)|bool and applications.ldap.openldap.network.local|bool %}
|
|
central_ldap:
|
|
{% endif %}
|
|
default:
|
|
{{ "\n" }} |