Files
program_service/program_service/config.py
marcsello 85fc2aeecb
Some checks failed
continuous-integration/drone/push Build was killed
Added mongodb stuff
2021-04-14 19:30:04 +02:00

17 lines
388 B
Python

#!/usr/bin/env python3
import os
"""
Configuration
"""
class Config:
MONGO_URI = os.environ["MONGO_URI"]
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")