19 lines
667 B
Plaintext
Raw Normal View History

# This template needs to be included in docker-compose.yml
networks:
{% if enable_central_database | bool and database_type is defined %}
2024-01-05 20:22:34 +01:00
central_{{ database_type }}:
external: true
2025-01-30 12:14:18 +01:00
{% endif %}
{% if applications[application_id].ldap_enabled is defined and applications[application_id].ldap_enabled | bool and applications.ldap.openldap.network.local | bool %}
2025-01-30 12:14:18 +01:00
central_ldap:
external: true
{% endif %}
2024-01-05 20:22:34 +01:00
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 %}
2024-01-04 11:36:55 +01:00
{{ "\n" }}