feat: Implement multi-node support with MQTT and mDNS for service discovery and coordination

This commit is contained in:
2026-02-23 02:30:12 -08:00
parent eeaa5045d0
commit 3343e955fd
29 changed files with 1878 additions and 35 deletions

View File

@@ -14,6 +14,12 @@ class Settings(BaseSettings):
host: str = "0.0.0.0"
port: int = 9020
# Mesh coordination (all off by default — single-node works without them)
mqtt_enabled: bool = False
mqtt_host: str = "localhost"
mqtt_port: int = 1883
mdns_enabled: bool = False
model_config = {
"env_prefix": "CASTLE_API_",
"env_file": ".env",