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

7 lines
221 B
Django/Jinja

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