attempt to configure pretalx

This commit is contained in:
kleines Filmröllchen 2026-03-14 18:25:01 +01:00
parent 88cb20a9c7
commit 8e964181de
Signed by: filmroellchen
SSH key fingerprint: SHA256:UMhcHaeI+VGsiUL2Drpw3aj1iRiQUlx8nxZqUPvoaVw
2 changed files with 56 additions and 22 deletions

View file

@ -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:

View file

@ -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