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

6 lines
194 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 %}
{{ "\n" }}