1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_pretix.git synced 2024-10-28 22:01:03 +01:00
ansible_collection_pretix/roles/pretix/templates/pretix.cfg.j2
2024-10-08 01:51:38 +02:00

32 lines
829 B
Django/Jinja

{{ ansible_managed | ansible.builtin.comment(decoration=';') }}
[pretix]
instance_name={{ pretix__name }}
url={{ pretix__address }}
currency={{ pretix__currency }}
datadir={{ pretix__datadir }}
trust_x_forwarded_for=on
trust_x_forwarded_proto=on
[database]
backend={{ pretix__db_backend }}
name={{ pretix__db_name }}
user={{ pretix__db_user }}
; For PostgreSQL on the same host, we don't need a password because we can use
; peer authentication if our PostgreSQL user matches our unix user.
password={{ pretix__db_password }}
; For local postgres authentication, you can leave it empty
host={{ pretix__db_host }}
[mail]
; See config file documentation for more options
from=tickets@example.org
host=127.0.0.1
[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