Added proxy conf variables for xwiki

This commit is contained in:
2025-09-17 07:19:29 +02:00
parent c64ac0b4dc
commit 1dceabfd46
2 changed files with 8 additions and 1 deletions

View File

@@ -1,8 +1,14 @@
# Proxy
xwiki.url.protocol={{ WEB_PROTOCOL }}
xwiki.url.host={{ domain }}
xwiki.url.port={{ WEB_PORT }}
############################################
# OIDC
# Render this block only while the OIDC switch is ON in _flush_config.yml.
# During bootstrap we keep it OFF to avoid ClassNotFoundException before the extension is installed.
{% if xwiki_oidc_enabled_switch | bool %}
oidc.showLoginButton=true
oidc.provider={{ XWIKI_OIDC_PROVIDER }}
oidc.endpoint.authorization={{ XWIKI_OIDC_AUTHORIZATION }}
oidc.endpoint.token={{ XWIKI_OIDC_TOKEN }}

View File

@@ -1,9 +1,10 @@
# General
application_id: "web-app-xwiki"
database_type: "{{ applications | get_app_conf(application_id, 'docker.services.database.type') }}"
domain: "{{ domains | get_domain(application_id) }}"
container_port: 8080
container_hostname: "{{ domains | get_domain(application_id) }}"
container_hostname: "{{ domain }}"
# XWiki