Keep router connected to profile controller

This commit is contained in:
Mikei386
2026-09-15 11:30:57 +02:00
parent 80917e72b4
commit 54d38a31aa
2 changed files with 13 additions and 3 deletions
+4
View File
@@ -530,6 +530,10 @@ services:
ROUTER_STATE_FILE: /var/lib/mike-ai-profile-router/state.json
ROUTER_MAX_CONCURRENT_REQUESTS: "16"
UPSTREAM_URL: http://llama-upstream:8080
# Profile are switched by the privileged controller. The router itself
# stays unprivileged and never manipulates Docker or host files directly.
PROFILE_CONTROL_URL: http://profile-controller:8090
PROFILE_CONTROL_TOKEN: "${CONTROLLER_TOKEN:?CONTROLLER_TOKEN is required}"
SWITCH_TIMEOUT: "600"
REQUEST_TIMEOUT: "600"
YUE2_START_TIMEOUT: "600"