1
0
forked from infra/ansible
infra/roles/pretix/templates/pretix.cfg.j2

35 lines
896 B
Plaintext
Raw Normal View History

2021-11-01 22:49:09 +01:00
[pretix]
instance_name=Binary Kitchen RC3 Pretix
url=https://pretix.rc3.binary-kitchen.de
currency=EUR
datadir=/opt/pretix/data
trust_x_forwarded_for=on
trust_x_forwarded_proto=on
[database]
; For MySQL, replace with "mysql"
backend=postgresql
name={{ pretix_dbname }}
user={{ pretix_dbuser }}
; For MySQL, enter the user password. For PostgreSQL on the same host,
; we don't need one because we can use peer authentification if our
; PostgreSQL user matches our unix user.
password={{ pretix_dbpass }}
; For MySQL, use local socket, e.g. /var/run/mysqld/mysqld.sock
; For a remote host, supply an IP address
; For local postgres authentication, you can leave it empty
host=
[mail]
; See config file documentation for more options
from={{ pretix_mail }}
host={{ mail_server }}
[redis]
location=redis://127.0.0.1/0
sessions=true
[celery]
backend=redis://127.0.0.1/1
broker=redis://127.0.0.1/2