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

5 lines
183 B
Django/Jinja

# This template needs to be included in docker-compose.yml which contain a database and additional volumes
volumes:
{% if not enable_central_database | bool %}
database:
{% endif %}