mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-22 00:01:09 +02:00
7 lines
370 B
Django/Jinja
7 lines
370 B
Django/Jinja
{# This template needs to be included in docker-compose.yml which contain a database and additional volumes #}
|
|
volumes:
|
|
{% if not applications | get_app_conf(application_id, 'features.central_database', False) and applications | get_app_conf(application_id, 'docker.services.database.enabled', False) %}
|
|
database:
|
|
name: {{ database_volume }}
|
|
{% endif %}
|
|
{{ "\n" }} |