Files
computer-playbook/roles/web-app-xwiki/config/main.yml
Kevin Veen-Birkenbach 07b7c6484f xwiki: switch to PostgreSQL and remove custom Hibernate override
Config: set database.type=postgres; use image tag lts-<dbtype>-tomcat; make DB_TYPE templated; derive database_type from app config.

Cleanup: delete hibernate.cfg.xml template and volume mounts; remove XWIKI_HOST_HIBERNATE_PATH; stop rendering hibernate.cfg.xml.

web-svc-cdn: run_once task fix.

Context: troubleshooting on 2025-09-12. Conversation link: https://chatgpt.com/share/68c3978e-77cc-800f-beda-19220f70855f
2025-09-12 05:46:45 +02:00

36 lines
790 B
YAML

credentials: {}
docker:
services:
redis:
enabled: false
database:
enabled: true
type: postgres
xwiki:
image: xwiki
version: lts-<< defaults_applications[web-app-xwiki].docker.services.database.type >>-tomcat
name: xwiki
backup:
no_stop_required: true
volumes:
data: "xwiki_data"
features:
matomo: true
css: true
desktop: true
central_database: true
logout: true
oidc: true
ldap: true
server:
csp:
whitelist: {}
flags: {}
domains:
canonical:
- "x.wiki.{{ PRIMARY_DOMAIN }}"
rbac:
roles: {}
ldap:
local_enabled: true # Allows local login if LDAP is down