project layout done
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-25 01:19:22 +01:00
parent 265d43f79b
commit 03bf58bab3
8 changed files with 177 additions and 13 deletions

22
src/config.py Normal file
View 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")