adding missing vars to resultsdb-dev, refactoring execdb settings
This commit is contained in:
parent
029119e78b
commit
f282de1c04
2 changed files with 5 additions and 9 deletions
|
@ -6,13 +6,9 @@ SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ prod_execdb_db_user }}:{{ pr
|
|||
SECRET_KEY = '{{ stg_execdb_secret_key }}'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ stg_execdb_db_user }}:{{ stg_execdb_db_password }}@{{ execdb_db_host }}:{{ execdb_db_port }}/{{ execdb_db_name }}'
|
||||
{% endif %}
|
||||
{%- if deployment_type == 'dev' %}
|
||||
SECRET_KEY = '{{ dev_execdb_secret_key }}'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ dev_execdb_db_user }}:{{ dev_execdb_db_password }}@{{ execdb_db_host }}:{{ execdb_db_port }}/{{ execdb_db_name }}'
|
||||
{% endif %}
|
||||
{%- if deployment_type == 'local' %}
|
||||
SECRET_KEY = '{{ local_execdb_secret_key }}'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ local_execdb_db_user }}:{{ local_execdb_db_password }}@127.0.0.1:{{ execdb_db_port }}/{{ execdb_db_name }}'
|
||||
{%- if deployment_type == 'dev' or deployment_type == 'local' %}
|
||||
SECRET_KEY = '{{ execdb_secret_key }}'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ execdb_db_user }}:{{ execdb_db_password }}@{{ execdb_db_host }}:{{ execdb_db_port }}/{{ execdb_db_name }}'
|
||||
{% endif %}
|
||||
FILE_LOGGING = False
|
||||
LOGFILR = '/var/log/execdb/execdb.log'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue