Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
ws-eidaauth
Commits
d37ceebb
Commit
d37ceebb
authored
Mar 20, 2020
by
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
Changes
1
Show whitespace changes
Inline
Side-by-side
eidawsauth/configurations/default.py
View file @
d37ceebb
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
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment