chore: remove image generation, Open WebUI, Lazytainer and neo4j
Drops the comfyui, downloader-comfyui, open-webui, lazytainer and neo4j services with their volumes, env keys and update.sh steps, plus scripts/switch-model.sh and the two image-generation research docs. Refs #55 (removal inventory #58, intent vs. source #63) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8ae32102f9
commit
fd55ce6669
6 files changed
+4
-739
No files matched your search
@@ -1,50 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Swap GPU residency between llama-server (Qwen) and comfyui — they never
|
||||
# run concurrently, VRAM doesn't fit both (see issue #38's map). Manual
|
||||
# invocation only, no auto-switching.
|
||||
#
|
||||
# Bypasses lazytainer entirely and drives docker compose directly — its
|
||||
# idle-stop can't be used for this. Root cause (see
|
||||
# docs/research/lazytainer-omniroute-idle-stop.md, issue #40): lazytainer's
|
||||
# packet-threshold detector is source-blind and can't tell OmniRoute's
|
||||
# periodic health-check pings apart from real traffic on the same port, so
|
||||
# it never reliably sleeps a service on its own. A scripted swap always
|
||||
# knows which service should go up/down, so it doesn't need that heuristic.
|
||||
#
|
||||
# OmniRoute may show the just-stopped provider as errored/offline in its
|
||||
# dashboard for up to CREDENTIAL_HEALTH_CHECK_INTERVAL (default 5 min) after
|
||||
# a swap — cosmetic, not a functional problem (see the research doc above).
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 {qwen|comfyui}" >&2
|
||||
echo " qwen - stop comfyui, start llama-server" >&2
|
||||
echo " comfyui - stop llama-server, start comfyui" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
[ $# -eq 1 ] || usage
|
||||
|
||||
case "$1" in
|
||||
qwen)
|
||||
from=comfyui
|
||||
to=llama-server
|
||||
;;
|
||||
comfyui)
|
||||
from=llama-server
|
||||
to=comfyui
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "==> stopping $from"
|
||||
docker compose stop "$from"
|
||||
|
||||
echo "==> starting $to"
|
||||
docker compose up -d "$to"
|
||||
|
||||
echo "==> status"
|
||||
docker compose ps
|
||||
@@ -183,7 +183,6 @@ set_if_blank OMNIROUTE_STORAGE_ENCRYPTION_KEY "$(openssl rand -hex 32)"
|
||||
set_if_blank OMNIROUTE_MACHINE_ID_SALT "$(openssl rand -hex 16)"
|
||||
set_if_blank OMNIROUTE_CLI_SALT "$(openssl rand -hex 16)"
|
||||
set_if_blank OMNIROUTE_WS_BRIDGE_SECRET "$(openssl rand -hex 32)"
|
||||
set_if_blank NEO4J_PASSWORD "$(openssl rand -hex 16)"
|
||||
|
||||
echo "==> resolving SEARXNG_LAN_IP"
|
||||
# search.home is a LAN mDNS/local-DNS name — resolvable from this host, just
|
||||
@@ -227,7 +226,6 @@ docker compose build --pull
|
||||
echo "==> ensuring models are downloaded (skips already-present files)"
|
||||
docker compose --profile tools run --rm downloader
|
||||
docker compose --profile tools run --rm downloader-classifier
|
||||
docker compose --profile tools run --rm downloader-comfyui
|
||||
|
||||
echo "==> bringing up omniroute"
|
||||
docker compose up -d --wait omniroute
|
||||
|
||||
Reference in new issue
Block a user