This commit is contained in:
22
src/config.py
Normal file
22
src/config.py
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
|
||||
|
||||
"""
|
||||
Main Flask RESTful API
|
||||
"""
|
||||
|
||||
|
||||
__author__ = "@tormakris"
|
||||
__copyright__ = "Copyright 2019, KSZK"
|
||||
__module_name__ = "app"
|
||||
__version__text__ = "1"
|
||||
|
||||
|
||||
PORT = os.environ.get("INPUT_SERVICE_PORT", 8080)
|
||||
DEBUG = os.environ.get("INPUT_SERVICE_DEBUG", True)
|
||||
|
||||
|
||||
SENTRY_DSN = os.environ.get("SENTRY_DSN")
|
||||
RELEASE_ID = os.environ.get("RELEASE_ID")
|
||||
RELEASEMODE = os.environ.get("INPUT_SERVICE_RELEASEMODE")
|
||||
Reference in New Issue
Block a user