mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-14 14:26:04 +02:00
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
7 lines
240 B
Django/Jinja
7 lines
240 B
Django/Jinja
DB_USER="{{ database_username }}"
|
|
DB_PASSWORD="{{ database_password }}"
|
|
DB_HOST="{{ database_host }}"
|
|
DB_PORT="{{ database_port }}"
|
|
DB_DATABASE="{{ database_name }}"
|
|
DB_TYPE="{{ 'mariadb' if database_type == 'mariadb' else 'postgresql' }}"
|