23 lines
587 B
Python
23 lines
587 B
Python
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()
|