Optimized xwiki integration

This commit is contained in:
2025-09-11 12:29:39 +02:00
parent 91ce097a0a
commit 8bc6e1f921
3 changed files with 3 additions and 20 deletions

View File

@@ -6,7 +6,6 @@
image: "{{ XWIKI_IMAGE_CUSTOM }}"
container_name: "{{ XWIKI_CONTAINER }}"
hostname: '{{ XWIKI_HOSTNAME}}'
command: ["all"]
ports:
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:{{ container_port }}"
volumes:

View File

@@ -1,6 +1,8 @@
DB_USER="{{ database_username }}"
DB_PASSWORD="{{ database_password }}"
DB_HOST="{{ database_host }}"
DB_PORT="{{ database_port }}"
DB_DATABASE="{{ database_name }}"
### Pretix core
#XWIKI_XWIKI_INSTANCE_NAME="{{ PRIMARY_DOMAIN | upper }} Tickets"
@@ -11,24 +13,6 @@ DB_HOST="{{ database_host }}"
### Locale
#XWIKI_LOCALE_TIMEZONE="{{ HOST_TIMEZONE }}"
#
### Database
#XWIKI_DATABASE_BACKEND="postgresql"
#XWIKI_DATABASE_NAME="{{ database_name }}"
#XWIKI_DATABASE_USER="{{ database_username }}"
#XWIKI_DATABASE_PASSWORD="{{ database_password }}"
#XWIKI_DATABASE_HOST="{{ database_host }}"
#XWIKI_DATABASE_PORT="{{ database_port }}"
#XWIKI_WEB_CONCURRENCY="{{ POSTGRES_ALLOWED_AVG_CONNECTIONS }}"
#XWIKI_WORKER_THREADS="{{ (POSTGRES_ALLOWED_AVG_CONNECTIONS | int // 2 ) }}"
#
#{% if XWIKI_REDIS_ENABLED %}
### Redis
#XWIKI_REDIS_SESSIONS="true"
#XWIKI_REDIS_LOCATION="redis://redis:6379/{{ XWIKI_REDIS_CACHE_DB }}"
#CELERY_BROKER_URL="redis://redis:6379/{{ XWIKI_REDIS_BROKER_DB }}"
#CELERY_RESULT_BACKEND="redis://redis:6379/{{ XWIKI_REDIS_RESULT_DB }}"
#{% endif %}
#
#{% if XWIKI_OIDC_ENABLED %}
### OIDC (plugin)
#XWIKI_OIDC_TITLE="{{ XWIKI_OIDC_LABEL | replace('\"','\\\"') }}"

View File

@@ -1,6 +1,6 @@
# General
application_id: "web-app-xwiki"
database_type: "postgres"
database_type: "mariadb"
container_port: 8080
container_hostname: "{{ domains | get_domain(application_id) }}"