Files
program_service/program_service/config.py
marcsello 7a3cb2afd8
Some checks failed
continuous-integration/drone/push Build was killed
Added skeleton
2021-04-14 19:22:22 +02:00

16 lines
348 B
Python

#!/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")