computer-playbook/vars/docker-database.yml.j2

4 lines
402 B
Django/Jinja

database_instance: "{{ 'central-' + database_type if enable_central_database | bool else docker_compose_project_name }}"
database_host: "{{ 'central-' + database_type if enable_central_database | bool else 'database' }}"
database_name: "{{ docker_compose_project_name }}"
database_username: "{{ docker_compose_project_name }}"