64 lines
1.4 KiB
Cheetah
64 lines
1.4 KiB
Cheetah
; see https://docs.pretix.eu/en/latest/admin/config.html#
|
|
|
|
[pretix]
|
|
instance_name={{ env "DOMAIN" }}
|
|
url=https://{{ env "DOMAIN" }}
|
|
currency=EUR
|
|
datadir=/data
|
|
plugins_default=pretix.plugins.sendmail,pretix.plugins.statistics
|
|
cookie_domain=.{{ env "DOMAIN" }}
|
|
loglevel=INFO
|
|
trust_x_forwarded_for=on
|
|
trust_x_forwarded_proto=on
|
|
|
|
|
|
[locale]
|
|
default=de
|
|
timezone=Europe/Berlin
|
|
|
|
|
|
[database]
|
|
backend=postgresql
|
|
name=pretix
|
|
user=pretix
|
|
password={{ secret "db_password" }}
|
|
host=db
|
|
port=5432
|
|
|
|
[mail]
|
|
from={{ env "SMTP_FROM" }}
|
|
host={{ env "SMTP_HOST" }}
|
|
user={{ env "SMTP_USER" }}
|
|
password={{ secret "smtp_password" }}
|
|
port={{ env "SMTP_PORT" }}
|
|
tls={{ env "SMTP_TLS" }}
|
|
ssl={{ env "SMTP_SSL" }}
|
|
|
|
[django]
|
|
secret={{ secret "django_secret_key" }}
|
|
debug=off
|
|
|
|
[redis]
|
|
location=redis://redis:6379/1
|
|
sessions=true
|
|
|
|
[languages]
|
|
enabled=en,de
|
|
|
|
[celery]
|
|
backend=redis://redis:6379/1
|
|
broker=redis://redis:6379/2
|
|
|
|
[pretix_file_upload]
|
|
; Max upload size for images in MiB, defaults to 10 MiB
|
|
max_size_image = 12
|
|
; Max upload size for favicons in MiB, defaults to 1 MiB
|
|
max_size_favicon = 2
|
|
; Max upload size for email attachments of manually sent emails in MiB, defaults to 10 MiB
|
|
max_size_email_attachment = 15
|
|
; Max upload size for email attachments of automatically sent emails in MiB, defaults to 1 MiB
|
|
max_size_email_auto_attachment = 2
|
|
; Max upload size for other files in MiB, defaults to 10 MiB
|
|
; This includes all file upload type order questions
|
|
max_size_other = 100
|