refactor(structure): reorganize monorepo with projects, terraform hierarchy, and strict k8s namespace rules
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import os
|
||||
|
||||
class Settings:
|
||||
PROJECT_NAME: str = "Grabengasse 7 Backend API"
|
||||
VERSION: str = "1.0.0"
|
||||
API_V1_STR: str = "/api/v1"
|
||||
|
||||
# Prometheus K8s cluster service URL (with fallback to localhost/dev)
|
||||
PROMETHEUS_URL: str = os.getenv(
|
||||
"PROMETHEUS_URL",
|
||||
"http://prometheus-operator-kube-p-prometheus.monitoring.svc.cluster.local:9090"
|
||||
)
|
||||
|
||||
CORS_ORIGINS: list[str] = [
|
||||
"http://localhost:5173",
|
||||
"http://localhost:80",
|
||||
"https://grabengasse7.de",
|
||||
"http://grabengasse7.de",
|
||||
"*"
|
||||
]
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user