Files
computer-playbook/roles/web-app-xwiki/config/main.yml
Kevin Veen-Birkenbach 2d71c461de web-app-xwiki: add SuperAdmin bootstrap support
- Added schema entry for superadminpassword
- Added vars for XWIKI_SUPERADMIN_USERNAME/PASSWORD
- Extended xwiki.properties.j2 to configure superadminpassword
- Added 02_bootstrap_admin.yml to create XWiki admin via REST using SuperAdmin
- Updated REST URLs to use XWIKI_REST_GENERAL
- Enabled CSP flag unsafe-inline

Conversation: https://chatgpt.com/share/68c39ddb-e9cc-800f-b32f-9d4c1e09e43e
2025-09-12 06:13:34 +02:00

38 lines
830 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:
script-src-elem:
unsafe-inline: true
domains:
canonical:
- "x.wiki.{{ PRIMARY_DOMAIN }}"
rbac:
roles: {}
ldap:
local_enabled: true # Allows local login if LDAP is down