mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented variable mapping to reduce complexity
This commit is contained in:
@@ -27,7 +27,7 @@ services:
|
||||
- data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
{% if not enable_central_database %}
|
||||
depends_on:
|
||||
- database
|
||||
{% include 'templates/docker-mariadb-service.yml.j2' %}
|
||||
@@ -35,7 +35,7 @@ services:
|
||||
|
||||
volumes:
|
||||
data:
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
{% if not enable_central_database %}
|
||||
database:
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user