mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Added get_domain function
This commit is contained in:
@@ -13,7 +13,7 @@ services:
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker,postgresql,saml2
|
||||
OPENJPA_REMOTE_COMMIT: sjvm
|
||||
SERVICE_DISCOVERY_ADDRESS: {{ web_protocol }}://{{ domains[application_id] }}/{{syncope_paths[rest]}}/
|
||||
SERVICE_DISCOVERY_ADDRESS: {{ web_protocol }}://{{ domains | get_domain(application_id) }}/{{syncope_paths[rest]}}/
|
||||
# database variablen auslesen
|
||||
|
||||
console:
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
restart: always
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker,saml2
|
||||
SERVICE_DISCOVERY_ADDRESS: {{ web_protocol }}://{{ domains[application_id] }}/{{syncope_paths[console]}}/
|
||||
SERVICE_DISCOVERY_ADDRESS: {{ web_protocol }}://{{ domains | get_domain(application_id) }}/{{syncope_paths[console]}}/
|
||||
|
||||
enduser:
|
||||
depends_on:
|
||||
@@ -36,5 +36,5 @@ services:
|
||||
restart: always
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: docker,saml2
|
||||
SERVICE_DISCOVERY_ADDRESS: {{ web_protocol }}://{{ domains[application_id] }}/{{syncope_paths[enduser]}}/
|
||||
SERVICE_DISCOVERY_ADDRESS: {{ web_protocol }}://{{ domains | get_domain(application_id) }}/{{syncope_paths[enduser]}}/
|
||||
|
@@ -16,7 +16,7 @@ server
|
||||
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
||||
|
||||
{% for path in syncope_paths.values() %}
|
||||
{% set location = web_protocol ~ '://' ~ domains[application_id] ~ '/' ~ path ~ '/' %}
|
||||
{% set location = web_protocol ~ '://' ~ domains | get_domain(application_id) ~ '/' ~ path ~ '/' %}
|
||||
{% include 'roles/nginx-docker-reverse-proxy/templates/location/proxy_basic.conf.j2'%}
|
||||
{% endfor %}
|
||||
}
|
@@ -1,7 +1,7 @@
|
||||
# General Configuration
|
||||
application_id: syncope
|
||||
database_type: "postgres"
|
||||
database_password: "{{ domains[application_id].credentials.database_password }}"
|
||||
database_password: "{{ domains | get_domain(application_id).credentials.database_password }}"
|
||||
|
||||
# Application Specific
|
||||
syncope_keymaster_address: http://localhost:8080/syncope/rest/keymaster
|
||||
@@ -10,8 +10,8 @@ syncope_paths:
|
||||
console: console
|
||||
enduser: enduser
|
||||
|
||||
syncope_anonymous_user: "{{ domains[application_id].users.anonymous.username }}"
|
||||
syncope_anonymous_password: "{{ domains[application_id].credentials.anonymous.password }}"
|
||||
syncope_anonymous_user: "{{ domains | get_domain(application_id).users.anonymous.username }}"
|
||||
syncope_anonymous_password: "{{ domains | get_domain(application_id).credentials.anonymous.password }}"
|
||||
|
||||
syncope_administrator_user: "{{ domains[application_id].users.administrator.username }}"
|
||||
syncope_administrator_password: "{{ domains[application_id].credentials.administrator_password }}"
|
||||
syncope_administrator_user: "{{ domains | get_domain(application_id).users.administrator.username }}"
|
||||
syncope_administrator_password: "{{ domains | get_domain(application_id).credentials.administrator_password }}"
|
Reference in New Issue
Block a user