forcing testdays to use localhost for database URI until resultsdb roles are upgraded

This commit is contained in:
Tim Flink 2015-09-16 17:54:44 +00:00
parent c0f68910f3
commit 8fbfffbd9a

View file

@ -1,6 +1,8 @@
RESULTSDB_URL = 'http://127.0.0.1/{{ resultsdb_endpoint }}/api/v1.0'
SECRET_KEY = '{{ testdays_secret_key }}'
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ testdays_db_user }}:{{ testdays_db_password }}@{{ testdays_db_host }}:{{ testdays_db_port }}/{{ testdays_db_name }}'
# forcing this to be localhost for now - a bit hacky but with the current resultsdb roles, it'd need a freeze break request to fix properly
#SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ testdays_db_user }}:{{ testdays_db_password }}@{{ testdays_db_host }}:{{ testdays_db_port }}/{{ testdays_db_name }}'
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ testdays_db_user }}:{{ testdays_db_password }}@127.0.0.1:{{ testdays_db_port }}/{{ testdays_db_name }}'
SHOW_DB_URI = False
PRODUCTION = True
FILE_LOGGING = False