default.py 696 Bytes
Newer Older
1
2
import os

3
class default():
4
5
6
7
8
    """
    Default conifguration
    """
    DEBUG=False
    TESTING=False
Jonathan Schaeffer's avatar
Jonathan Schaeffer committed
9
    LOGLEVEL='INFO'
10
    ENVIRONMENT='default'
11
    EMAIL='resif-dc@univ-grenoble-alpes.fr'
12

Jonathan Schaeffer's avatar
Jonathan Schaeffer committed
13
    GNUPGHOMEDIR='../../tests/test_files/gpg_home'
14

15
    _dbpassword = os.environ.get('DBPASS')
16
17
18
19
    AUTHDBPORT=5432
    AUTHDBHOST='localhost'
    AUTHDBNAME='resifAuth'
    AUTHDBUSER='eidawsauth'
20
    AUTHDBPASSWORD=_dbpassword
21
22
23
24
25

    PRIVILEGEDBHOST='localhost'
    PRIVILEGEDBPORT=5432
    PRIVILEGEDBNAME='resifInv-Prod'
    PRIVILEGEDBUSER='eidawsauth'
26
    PRIVILEGEDBPASSWORD=_dbpassword
27

28
    EPOS_FDSN_MAP={
Jonathan Schaeffer's avatar
Jonathan Schaeffer committed
29
        '/epos/alparray': {'networkcode':'Z3', 'startyear':2015, 'endyear': 2022},
30
    }