ansible/roles/pretix_docker/templates/pretix.cfg.j2

40 lines
1.1 KiB
Text
Raw Normal View History

2023-09-05 13:14:14 +02:00
[pretix]
instance_name={{ pretix_instance_name }}
url=https://{{ pretix_domain }}
currency={{ pretix_currency }}
; DO NOT change the following value, it has to be set to the location of the
; directory *inside* the docker container
datadir=/data
registration={{ pretix_registration }}
[locale]
default={{ pretix_locale_default }}
timezone={{ pretix_locale_timezone }}
[database]
backend={{ pretix_db_backend }}
name={{ database_vars.postgres.pretix.db }}
user={{ database_vars.postgres.pretix.user }}
password={{ database_vars.postgres.pretix.password }}
2023-09-05 13:14:14 +02:00
host={{ pretix_db_container_name }}
port={{ database_vars.postgres.pretix.port }}
2023-09-05 13:14:14 +02:00
[mail]
from={{ pretix_mail_from }}
host={{ pretix_mail_host }}
user={{ pretix_mail_user }}
password={{ pretix_mail_password }}
port={{ pretix_mail_port }}
tls=on
ssl=off
[redis]
location=redis://{{ pretix_redis_container_name }}/0
; Remove the following line if you are unsure about your redis'security
; to reduce impact if redis gets compromised.
sessions={{ pretix_redis_sessions }}
[celery]
backend=redis://{{ pretix_redis_container_name }}/1
broker=redis://{{ pretix_redis_container_name }}/2