Added get_domain function

This commit is contained in:
2025-05-17 14:53:55 +02:00
parent ad51597e2e
commit 3388d3c592
94 changed files with 288 additions and 141 deletions

View File

@@ -7,7 +7,7 @@ database_password: "{{applications.nextcloud.cr
database_type: "mariadb" # Database flavor
# Networking
domain: "{{ domains[application_id] }}" # Public domain at which Nextcloud will be accessable
domain: "{{ domains | get_domain(application_id) }}" # Public domain at which Nextcloud will be accessable
http_port: "{{ ports.localhost.http[application_id] }}" # Port at which nextcloud is reachable in the local network
# Control Node

View File

@@ -25,7 +25,7 @@ plugin_configuration:
configkey: "custom_providers"
configvalue:
custom_oidc:
- name: "{{ domains.keycloak }}"
- name: "{{ domains | get_domain('keycloak') }}"
title: "keycloak"
style: "keycloak"
authorizeUrl: "{{ oidc.client.authorize_url }}"

View File

@@ -15,7 +15,7 @@ nextcloud_system_config:
value: "{{ HOST_LL | upper }}"
- parameter: "trusted_domains 0"
value: "{{domains[application_id]}}"
value: "{{domains | get_domain(application_id)}}"
- parameter: "overwrite.cli.url"
value: "{{ web_protocol }}://{{domains[application_id]}}"
value: "{{ web_protocol }}://{{domains | get_domain(application_id)}}"