ON_OFF Phase 0-3: service-controller (.13:8443, token-gated, containers+systemd-user, audit log) + portal toggle cards (live status, per-user who, failed token, RAM) — full E2E verified

This commit is contained in:
2026-10-08 19:10:45 +11:00
parent bb2c6e5d0d
commit 85827be3be
15 changed files with 549 additions and 7 deletions

View File

@@ -52,6 +52,10 @@ class Settings:
S3_ACCESS_KEY: str = os.getenv("S3_ACCESS_KEY", "")
S3_SECRET_KEY: str = os.getenv("S3_SECRET_KEY", "")
# --- service-controller (ON_OFF.md): host-side on/off API on .13 ---
SC_URL: str = os.getenv("SC_URL", "http://host.docker.internal:8443")
SC_TOKEN: str = os.getenv("SC_TOKEN", "")
# --- Tool catalogue endpoint for opening tools ---
SECTION_COLORS: dict[str, str] = {
"chat": "#62aef0", # accent-sky