summaryrefslogtreecommitdiffstats
path: root/roles/taskotron/resultsdb-frontend/templates/settings.py.j2
blob: 7fc571a42efb0fddec9e9c0344208cb5d7f83035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# while you can use this as a template, we recommend that you use the blockerbugs
# cli to generate a config file
{% if deployment_type in ['dev', 'stg'] %}
RDB_URL = 'http://127.0.0.1/{{ resultsdb_endpoint }}/api/v2.0'
{% else %}
RDB_URL = 'http://127.0.0.1/{{ resultsdb_endpoint }}/api/v1.0'
{% endif %}
SECRET_KEY = '{{ resultsdb_frontend_secret_key }}'

FILE_LOGGING = False
LOGFILR = '/var/log/resultsdb_frontend/resultsdb_frontend.log'
SYSLOG_LOGGING = False
STREAM_LOGGING = True