Commit d37ceebb authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Merge branch 'conf' into 'master'

Using env to configure databse password

See merge request resif/ws-eidaauth!2
parents 03730d57 dd1828b0
import os
class default(): class default():
""" """
Default conifguration Default conifguration
...@@ -10,17 +12,18 @@ class default(): ...@@ -10,17 +12,18 @@ class default():
GNUPGHOMEDIR='../../tests/test_files/gpg_home' GNUPGHOMEDIR='../../tests/test_files/gpg_home'
_dbpassword = os.environ.get('DBPASS')
AUTHDBPORT=5432 AUTHDBPORT=5432
AUTHDBHOST='localhost' AUTHDBHOST='localhost'
AUTHDBNAME='resifAuth' AUTHDBNAME='resifAuth'
AUTHDBUSER='eidawsauth' AUTHDBUSER='eidawsauth'
AUTHDBPASSWORD='secret' AUTHDBPASSWORD=_dbpassword
PRIVILEGEDBHOST='localhost' PRIVILEGEDBHOST='localhost'
PRIVILEGEDBPORT=5432 PRIVILEGEDBPORT=5432
PRIVILEGEDBNAME='resifInv-Prod' PRIVILEGEDBNAME='resifInv-Prod'
PRIVILEGEDBUSER='eidawsauth' PRIVILEGEDBUSER='eidawsauth'
PRIVILEGEDBPASSWORD='secret' PRIVILEGEDBPASSWORD=_dbpassword
EPOS_FDSN_MAP={ EPOS_FDSN_MAP={
'/epos/alparray': {'networkcode':'Z3', 'startyear':2015, 'endyear': 2020}, '/epos/alparray': {'networkcode':'Z3', 'startyear':2015, 'endyear': 2020},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment