Initial commit
This commit is contained in:
15
job_orchestrator_service/config.py
Normal file
15
job_orchestrator_service/config.py
Normal 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")
|
||||
Reference in New Issue
Block a user