Added skeleton
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2021-04-14 19:22:22 +02:00
commit 7a3cb2afd8
12 changed files with 164 additions and 0 deletions

15
program_service/config.py Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env python3
import os
"""
Configuration
"""
class Config:
SECRET_KEY = os.environ.get("SECRET_KEY", os.urandom(12))
CORS_ORIGINS = os.environ.get("ALLOWED_ORIGINS", "*")
SENTRY_DSN = os.environ.get("SENTRY_DSN")
RELEASE_ID = os.environ.get("RELEASE_ID", "test")
RELEASEMODE = os.environ.get("RELEASEMODE", "dev")