deploy: Dockerfile, Compose pro Rolle, LiteLLM, Prometheus/Alertmanager, Canary-Prober, n8n-Workflows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,9 @@ class Settings:
|
||||
proxmox_token_secret: str = ""
|
||||
notify_webhook_url: str = ""
|
||||
job_webhook_url: str = ""
|
||||
webhook_auth: str = "" # Wert des Authorization-Headers für ausgehende Webhooks (n8n Header Auth)
|
||||
request_timeout: float = 120.0
|
||||
canary_interval: float = 60.0 # 0 = Prober aus
|
||||
|
||||
@classmethod
|
||||
def from_env(cls) -> Settings:
|
||||
@@ -60,5 +62,7 @@ class Settings:
|
||||
proxmox_token_secret=env.get("PROXMOX_TOKEN_SECRET", ""),
|
||||
notify_webhook_url=env.get("NOTIFY_WEBHOOK_URL", ""),
|
||||
job_webhook_url=env.get("KNASTER_JOB_WEBHOOK_URL", ""),
|
||||
webhook_auth=env.get("KNASTER_WEBHOOK_AUTH", ""),
|
||||
request_timeout=float(env.get("KNASTER_REQUEST_TIMEOUT", base.request_timeout)),
|
||||
canary_interval=float(env.get("KNASTER_CANARY_INTERVAL", base.canary_interval)),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user