mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-11 07:42:20 -05:00
30 lines
584 B
Python
30 lines
584 B
Python
|
|
class Config(object):
|
|
DEBUG = False
|
|
NOTIFY_LOG_LEVEL = 'DEBUG'
|
|
NOTIFY_APP_NAME = 'api'
|
|
NOTIFY_LOG_PATH = '/var/log/notify/application.log'
|
|
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
|
|
SQLALCHEMY_RECORD_QUERIES = True
|
|
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notification_api'
|
|
|
|
|
|
class Development(Config):
|
|
DEBUG = True
|
|
|
|
|
|
class Test(Config):
|
|
DEBUG = True
|
|
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notification_api_test'
|
|
|
|
|
|
class Live(Config):
|
|
pass
|
|
|
|
|
|
configs = {
|
|
'development': Development,
|
|
'test': Test,
|
|
'live': Live,
|
|
}
|