diff --git a/roles/taskotron/resultsdb-frontend/templates/settings.py.j2 b/roles/taskotron/resultsdb-frontend/templates/settings.py.j2 index a2a852795e..7efa2cd6ee 100644 --- a/roles/taskotron/resultsdb-frontend/templates/settings.py.j2 +++ b/roles/taskotron/resultsdb-frontend/templates/settings.py.j2 @@ -1,6 +1,10 @@ # 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'] %} +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