services/_ansible/templates/docker-compose.yml.j2

7 lines
305 B
Django/Jinja

{% set compose_file = compose_file | default({}) %}
{% set compose_file = compose_default_file | combine(compose_file, recursive=True) %}
{% if compose.env | default(False) %}
{% set compose_file = compose_file | combine(compose_env_file, recursive=True) %}
{% endif %}
{{ compose_file | to_nice_yaml }}