Commit d37ceebb authored by Jonathan Schaeffer's avatar Jonathan Schaeffer

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():
"""
Default conifguration
......@@ -10,17 +12,18 @@ class default():
GNUPGHOMEDIR='../../tests/test_files/gpg_home'
_dbpassword = os.environ.get('DBPASS')
AUTHDBPORT=5432
AUTHDBHOST='localhost'
AUTHDBNAME='resifAuth'
AUTHDBUSER='eidawsauth'
AUTHDBPASSWORD='secret'
AUTHDBPASSWORD=_dbpassword
PRIVILEGEDBHOST='localhost'
PRIVILEGEDBPORT=5432
PRIVILEGEDBNAME='resifInv-Prod'
PRIVILEGEDBUSER='eidawsauth'
PRIVILEGEDBPASSWORD='secret'
PRIVILEGEDBPASSWORD=_dbpassword
EPOS_FDSN_MAP={
'/epos/alparray': {'networkcode':'Z3', 'startyear':2015, 'endyear': 2020},
......
Markdown is supported
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