From 8e964181de8d8c4a1588897ed38b17d10835d20352f648cb8732aa00575e0a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Sat, 14 Mar 2026 18:25:01 +0100 Subject: [PATCH] attempt to configure pretalx --- docker-compose.yml | 46 ++++++++++++++++++++++++---------------------- pretalx.cfg | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 22 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 29c1634..9e9e2fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -54,28 +54,30 @@ services: - AUTOMIGRATE=skip # migration is run by the web worker # Pretalx -# pretalx: -# <<: *service-defaults -# image: harbor.aalen.space/sfz.aalen/infra/images/pretalx-ctbk:1741346032 -# depends_on: [valkey] -# restart: always -# ports: -# - name: web-v6 -# <<: *web -# published: *pretalx-port -# host_ip: "[::]" -# - name: web-v4 -# <<: *web -# published: *pretalx-port -# host_ip: "0.0.0.0" -# volumes: -# - ./pretalx.cfg:/etc/pretalx/pretalx.cfg -# - /var/run/postgresql:/run/postgresql -# - /run/valkey:/run/valkey -# - /var/lib/pretix:/data -# environment: -# - TZ=Europe/Berlin -# env_file: ".env-pretalx" + pretalx: + <<: *service-defaults + image: harbor.aalen.space/sfz.aalen/infra/images/pretalx-ctbk:1741346032 + depends_on: [valkey] + restart: always + ports: + - name: web-v6 + <<: *web + published: *pretalx-port + host_ip: "[::]" + - name: web-v4 + <<: *web + published: *pretalx-port + host_ip: "0.0.0.0" + volumes: + - ./pretalx.cfg:/etc/pretalx/pretalx.cfg:ro + - /var/run/postgresql:/run/postgresql + - /run/valkey:/run/valkey + - /var/lib/pretalx:/data + environment: + TZ: Europe/Berlin + # testing for limited memory + GUNICORN_WORKERS: "1" + env_file: ".env-pretalx" # Cache databases memcached: diff --git a/pretalx.cfg b/pretalx.cfg index 473a0f4..87685c4 100644 --- a/pretalx.cfg +++ b/pretalx.cfg @@ -0,0 +1,32 @@ +# This is an example pretalx configuration file. +# Documentation: https://docs.pretalx.org/administrator/configure/ + +[filesystem] +data = /data +static = /data/static + +[site] +debug = False +url = https://cfp.ctbk.de + +[database] +backend = postgresql +name = pretalx +user = pretalx +host = /run/postgresql + +[mail] +from=events@chaostreff-backnang.de +host=mxe89f.netcup.net +port=465 +user=events@chaostreff-backnang.de +tls=off +ssl=on + +[redis] +location=unix:///run/valkey/valkey.sock?db=3 + +[celery] +backend=redis+socket:///run/valkey/valkey.sock?db=4 +broker=redis+socket:///run/valkey/valkey.sock?db=5 +