fix config stuff

This commit is contained in:
Philipp Rothmann 2023-06-09 14:10:15 +02:00
parent 3eeb651a3c
commit f1abc36839
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
export PRETIX_CONFIG_VERSION=v1
export PRETIX_CONFIG_VERSION=v1

View File

@ -46,7 +46,7 @@ services:
secrets:
- db_password
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 10s
timeout: 5s
retries: 5

View File

@ -6,7 +6,7 @@ url=https://{{ env "DOMAIN" }}
currency=EUR
datadir=/data
plugins_default=pretix.plugins.sendmail,pretix.plugins.statistics
cookie_domain=.pretix.de
cookie_domain=.{{ env "DOMAIN" }}
loglevel=INFO
trust_x_forwarded_for=on
trust_x_forwarded_proto=on
@ -23,7 +23,7 @@ name=pretix
user=pretix
password={{ secret "db_password" }}
host=db
port=3306
port=5432
[mail]
from={{ env "SMTP_FROM" }}
@ -47,7 +47,7 @@ enabled=en,de
[celery]
backend=redis://redis:6379/1
broker=redis://redis:6379/1
broker=redis://redis:6379/2
[pretix_file_upload]
; Max upload size for images in MiB, defaults to 10 MiB