mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-14 14:26:04 +02:00
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
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# General
|
||||
application_id: "web-app-xwiki"
|
||||
database_type: "mariadb"
|
||||
database_type: "{{ applications | get_app_conf(application_id, 'docker.services.database.type') }}"
|
||||
|
||||
container_port: 8080
|
||||
container_hostname: "{{ domains | get_domain(application_id) }}"
|
||||
|
||||
@@ -14,7 +15,6 @@ XWIKI_HOSTNAME: "{{ container_hostname }}"
|
||||
## Paths
|
||||
XWIKI_HOST_CONF_PATH: "{{ [docker_compose.directories.config, 'xwiki.cfg'] | path_join }}"
|
||||
XWIKI_HOST_PROPERTIES_PATH: "{{ [docker_compose.directories.config, 'xwiki.properties'] | path_join }}"
|
||||
XWIKI_HOST_HIBERNATE_PATH: "{{ [docker_compose.directories.config, 'hibernate.cfg.xml'] | path_join }}"
|
||||
|
||||
## Docker
|
||||
XWIKI_IMAGE_CUSTOM: "xwiki_custom"
|
||||
|
Reference in New Issue
Block a user