added rp api

This commit is contained in:
2026-06-10 11:49:01 +03:00
parent 73baf4dbe1
commit f407e41b6d
13 changed files with 397 additions and 22 deletions
+4
View File
@@ -88,6 +88,10 @@ class Settings(BaseSettings):
netdata_alerts_enabled: bool = True
netdata_poll_interval_sec: int = 120
rp_chat_base_url: str = "http://host.docker.internal:8201"
rp_chat_enabled: bool = True
rp_chat_timeout_sec: float = 300.0
@property
def cors_origins_list(self) -> list[str]:
return [origin.strip() for origin in self.cors_origins.split(",") if origin.strip()]