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

9 lines
223 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: