Move frank-default-large from :52625 to :7770 (dankclaw)
Operator request (2026-08-22): the primary inference server (frank-default-large, the 27B CIRU model on Dankclaw) moves to the standard llama.cpp port 7770. Both LLM services now listen on :7770, distinguished by host (dankserver vs dankclaw). Functional changes: - scripts/frank-default-large.env: LISTEN_PORT 52625 -> 7770 - scripts/serve-frank-large.sh: default LISTEN_PORT 52625 -> 7770 - scripts/deploy.sh: LLM_HEALTH[dankclaw] -> :7770 - open-webui quadlet: OPENAI_API_BASE_URL -> 192.168.0.143:7770 (re-pointed so chat keeps working; data dir preserved) - scripts/bench-fast-greedy.sh: PORT 52625 -> 7770 Tests updated to the new topology (both LLM endpoints on :7770 by host; open-webui -> :7770). Docs + pi KB updated; dated historical runbooks keep their point-in-time ports. models.json (pi client) re-pointed to :7770 separately, effective on the next client restart.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
#
|
||||
# The old open-webui was a bare container on dankserver (port 3000) pointing at a
|
||||
# dead LLM backend (:9090). This unit stands one up on dankclaw on a free port
|
||||
# (3005), on the CPU image (dankclaw is CPU-only), wired to the live vLLM
|
||||
# backend (host.containers.internal:52625, model frank-default-large).
|
||||
# (3005), on the CPU image (dankclaw is CPU-only), wired to the live
|
||||
# llama.cpp backend (192.168.0.143:7770, model frank-default-large).
|
||||
|
||||
load helpers
|
||||
|
||||
@@ -58,14 +58,15 @@ QDIR="$REPO_ROOT/dankclaw/open-webui/quadlet"
|
||||
|| { echo "open-webui.container must publish 3005:8080"; return 1; }
|
||||
}
|
||||
|
||||
@test "open-webui points its LLM at the live vLLM backend (52625) via the host LAN IP" {
|
||||
@test "open-webui points its LLM at the live backend (:7770) via the host LAN IP" {
|
||||
# host.containers.internal is a slirp4netns-only name. The bridge
|
||||
# gateway (10.89.3.1) lives in the rootless netns, NOT the host netns
|
||||
# where llama-server runs -- it refuses. The host's LAN IP reaches it
|
||||
# through the rootless NAT (verified from the container, 2026-08-22).
|
||||
grep -qE '^Environment=OPENAI_API_BASE_URL=http://192\.168\.0\.143:52625' \
|
||||
# 2026-08-22: frank-default-large moved from :52625 to :7770.
|
||||
grep -qE '^Environment=OPENAI_API_BASE_URL=http://192\.168\.0\.143:7770' \
|
||||
"$QDIR/open-webui.container" \
|
||||
|| { echo "open-webui.container must set OPENAI_API_BASE_URL to the vLLM at 192.168.0.143:52625"; return 1; }
|
||||
|| { echo "open-webui.container must set OPENAI_API_BASE_URL to the LLM at 192.168.0.143:7770"; return 1; }
|
||||
}
|
||||
|
||||
@test "open-webui persists its data under /home/dank/Containers/open-webui/data" {
|
||||
|
||||
Reference in New Issue
Block a user