mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Implemented new matomo setup
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{{ database_host }}:
|
||||
condition: service_healthy
|
||||
{% endif %}
|
||||
{% if applications[application_id].docker.services.redis.enabled | default(false) | bool %}
|
||||
{% if applications | is_docker_service_enabled(application_id, 'redis') %}
|
||||
redis:
|
||||
condition: service_healthy
|
||||
{% endif %}
|
@@ -1,6 +1,6 @@
|
||||
{# This template needs to be included in docker-compose.yml containers, which depend on a database, redis and optional additional volumes #}
|
||||
{% if
|
||||
(applications[application_id].docker.services.redis.enabled | default(false)| bool) or
|
||||
applications | is_docker_service_enabled(application_id, 'redis') or
|
||||
not applications | is_feature_enabled('central_database',application_id)
|
||||
%}
|
||||
depends_on:
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% if applications | is_feature_enabled('central_database',application_id) | bool and database_type is defined %}
|
||||
{{ applications[ 'svc-db-' ~ database_type ].network }}:
|
||||
{% endif %}
|
||||
{% if applications[application_id].get('features', {}).get('ldap', false) | bool and applications['svc-db-openldap'].network.docker|bool %}
|
||||
{% if applications | is_feature_enabled('ldap',application_id) | bool and applications['svc-db-openldap'].network.docker|bool %}
|
||||
svc-db-openldap:
|
||||
{% endif %}
|
||||
default:
|
||||
|
Reference in New Issue
Block a user