adding local use case to taskotron roles, fixing up some vars to be more consistent
This commit is contained in:
parent
dba8995baa
commit
497f77b7aa
21 changed files with 58 additions and 19 deletions
|
@ -1,5 +1,5 @@
|
|||
WSGIDaemonProcess resultsdb user=apache group=apache threads=5
|
||||
WSGIScriptAlias {{ resultsdb_endpoint }} /usr/share/resultsdb/resultsdb.wsgi
|
||||
WSGIScriptAlias /{{ resultsdb_endpoint }} /usr/share/resultsdb/resultsdb.wsgi
|
||||
WSGISocketPrefix run/wsgi
|
||||
|
||||
# this isn't the best way to force SSL but it works for now
|
||||
|
|
|
@ -10,6 +10,10 @@ SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ stg_resultsdb_db_user }}:{{
|
|||
SECRET_KEY = '{{ dev_resultsdb_secret_key }}'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ dev_resultsdb_db_user }}:{{ dev_resultsdb_db_password }}@{{ resultsdb_db_host }}:{{ resultsdb_db_port }}/{{ resultsdb_db_name }}'
|
||||
{% endif %}
|
||||
{%- if deployment_type == 'local' %}
|
||||
SECRET_KEY = '{{ local_resultsdb_secret_key }}'
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://{{ local_resultsdb_db_user }}:{{ local_resultsdb_db_password }}@127.0.0.1:{{ resultsdb_db_port }}/{{ resultsdb_db_name }}'
|
||||
{% endif %}
|
||||
FILE_LOGGING = False
|
||||
LOGFILR = '/var/log/resultsdb/resultsdb.log'
|
||||
SYSLOG_LOGGING = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue