Initial commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2021-11-16 20:40:17 +01:00
commit eb9193451e
20 changed files with 598 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import os
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY', os.urandom(12))
SENTRY_DSN = os.environ.get("SENTRY_DSN")
RELEASE_ID = os.environ.get("RELEASE_ID", "test")
RELEASEMODE = os.environ.get("RELEASEMODE", "dev")
INFLUXDB_HOST = os.environ['INFLUXDB_HOST']
INFLUXDB_PORT = os.environ['INFLUXDB_PORT']
INFLUXDB_USER = os.environ['INFLUXDB_USER']
INFLUXDB_PASSWORD = os.environ['INFLUXDB_PASSWORD']
INFLUXDB_DATABASE = os.environ['INFLUXDB_DATABASE']
INFLUXDB_TIMEOUT = 30