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:
@@ -15,7 +15,7 @@ services:
|
||||
restart: "always"
|
||||
depends_on:
|
||||
- redis
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
{% if not enable_central_database %}
|
||||
- database
|
||||
|
||||
{% include 'templates/docker-postgres-service.yml.j2' %}
|
||||
@@ -27,7 +27,7 @@ services:
|
||||
- .env
|
||||
volumes:
|
||||
assets:
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
{% if not enable_central_database %}
|
||||
database:
|
||||
{% endif %}
|
||||
data:
|
||||
|
@@ -3,7 +3,7 @@ server {
|
||||
|
||||
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
||||
|
||||
{% if nginx_matomo_tracking | bool %}
|
||||
{% if nginx_matomo_tracking %}
|
||||
{% include 'roles/nginx-matomo-tracking/templates/matomo-tracking.conf.j2' %}
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user