computer-playbook/templates/docker-compose-networks.yml.j2

8 lines
192 B
Django/Jinja

# This template needs to be included in docker-compose.yml
networks:
{% if enable_central_database | bool %}
central_{{ database_type }}:
external: true
{% endif %}
default:
{{ "\n" }}