mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Refactored CyMaIS basic features and optimized wordpress implementation
This commit is contained in:
@@ -4,7 +4,7 @@ networks:
|
||||
central_{{ database_type }}:
|
||||
external: true
|
||||
{% endif %}
|
||||
{% if applications[application_id].get('ldap', {}).get('enabled', false) | bool and applications.ldap.network.local | bool %}
|
||||
{% if applications[application_id].get('features', {}).get('ldap', false) | bool and applications.ldap.network.local | bool %}
|
||||
central_ldap:
|
||||
external: true
|
||||
{% endif %}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{# This needs to be included in docker-compose.yml which just contain a database volume #}
|
||||
{% if not (applications[application_id].database.central_storage | default(false)) | bool %}
|
||||
{% if not (applications[application_id].features.database | default(false)) | bool %}
|
||||
volumes:
|
||||
database:
|
||||
{% endif %}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{# This template needs to be included in docker-compose.yml which contain a database and additional volumes #}
|
||||
volumes:
|
||||
{% if not (applications[application_id].database.central_storage | default(false)) | bool %}
|
||||
{% if not (applications[application_id].features.database | default(false)) | bool %}
|
||||
database:
|
||||
{% endif %}
|
||||
{{ "\n" }}
|
@@ -1,6 +1,6 @@
|
||||
{# This template needs to be included in docker-compose.yml containers which depend on a database and additional containers #}
|
||||
depends_on:
|
||||
{% if not applications[application_id].database.central_storage | bool %}
|
||||
{% if not applications[application_id].features.database | bool %}
|
||||
database:
|
||||
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 #}
|
||||
depends_on:
|
||||
{% if not applications[application_id].database.central_storage | bool %}
|
||||
{% if not applications[application_id].features.database | bool %}
|
||||
database:
|
||||
condition: service_healthy
|
||||
{% endif %}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{# This template needs to be included in docker-compose.yml containers, which just depend on a database #}
|
||||
{% if not applications[application_id].database.central_storage | bool %}
|
||||
{% if not applications[application_id].features.database | bool %}
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% if applications | get_database_central_storage(application_id) | bool and database_type is defined %}
|
||||
central_{{ database_type }}:
|
||||
{% endif %}
|
||||
{% if applications[application_id].get('ldap', {}).get('enabled', false)|bool and applications.ldap.network.local|bool %}
|
||||
{% if applications[application_id].get('features', {}).get('ldap', false) | bool and applications.ldap.network.local|bool %}
|
||||
central_ldap:
|
||||
{% endif %}
|
||||
default:
|
||||
|
Reference in New Issue
Block a user