2014-06-05 03:22:07 +00:00
|
|
|
# while you can use this as a template, we recommend that you use the blockerbugs
|
|
|
|
# cli to generate a config file
|
2014-06-05 03:37:04 +00:00
|
|
|
RDB_URL = 'http://127.0.0.1/{{ resultsdb_endpoint }}/api/v1.0'
|
2014-07-22 16:02:15 +00:00
|
|
|
{% if deployment_type == 'dev' %}
|
2014-07-08 17:25:39 +00:00
|
|
|
SECRET_KEY = '{{ dev_resultsdb_frontend_secret_key }}'
|
|
|
|
{% endif %}
|
2014-07-22 16:02:15 +00:00
|
|
|
{% if deployment_type == 'stg' %}
|
2014-07-08 17:25:39 +00:00
|
|
|
SECRET_KEY = '{{ stg_resultsdb_frontend_secret_key }}'
|
|
|
|
{% endif %}
|
2014-07-22 16:02:15 +00:00
|
|
|
{% if deployment_type == 'prod' %}
|
2014-07-08 17:25:39 +00:00
|
|
|
SECRET_KEY = '{{ prod_resultsdb_frontend_secret_key }}'
|
|
|
|
{% endif %}
|
2015-01-29 16:51:31 +00:00
|
|
|
{% if deployment_type == 'local' %}
|
|
|
|
SECRET_KEY = '{{ local_resultsdb_frontend_secret_key }}'
|
|
|
|
{% endif %}
|
|
|
|
|
2014-06-05 03:22:07 +00:00
|
|
|
FILE_LOGGING = False
|
|
|
|
LOGFILR = '/var/log/resultsdb_frontend/resultsdb_frontend.log'
|
|
|
|
SYSLOG_LOGGING = False
|
|
|
|
STREAM_LOGGING = True
|