Fixes CI build (localhost in OLLAMA_URL was hitting the runner container's own loopback). Rewrites deploy/docker-compose.yml to match Drawbar's actual parent-stack pattern (learned by inspecting chem-mcp deployment on trashpanda).
Also documents a network-attach patch — llama-rerank is on the wrong Docker network so chem-mcp's reranker has been silently failing. The patch fixes rerank for both chem-mcp and the new seed-mcp.
Fixes CI build (localhost in OLLAMA_URL was hitting the runner container's own loopback). Rewrites deploy/docker-compose.yml to match Drawbar's actual parent-stack pattern (learned by inspecting chem-mcp deployment on trashpanda).
Also documents a network-attach patch — llama-rerank is on the wrong Docker network so chem-mcp's reranker has been silently failing. The patch fixes rerank for both chem-mcp and the new seed-mcp.
CI was failing on the "Rebuild indexes from committed corpus" step
with httpx.ConnectError [Errno 111] — `localhost:11434` in the
OLLAMA_URL pool resolves to the Gitea Actions runner CONTAINER's
own localhost (no Ollama there), not the host. Fix: drop localhost
from CI's pool; it stays useful for dev runs from the workstation
where the TITAN X serves Ollama on the host loopback.
Final CI pool — 3 LAN endpoints, weighted to .0.125 (4090):
.0.125:11434 ×4 (RTX 40-series, 242 embeds/sec)
.0.2:11436 ×2 (GPU-pinned, 108 embeds/sec)
.0.2:11435 ×1 (GPU-pinned, 72 embeds/sec)
deploy/docker-compose.yml — rewrite to match Drawbar's actual
parent-stack pattern, learned by inspecting how chem-mcp is
deployed on trashpanda:
- Service name `seed-mcp` (matches chem-mcp's pattern). Reached
via docker DNS as `seed-mcp:8080` from drawbar-backend-api.
- Internal-only (no host port), expose 8080 only.
- MCP_PORT=8080 inside container (chem-mcp uses 8080 too).
- OLLAMA_URL via host.docker.internal:11434 (trashpanda's Ollama
runs on the host). extra_hosts maps host-gateway.
- RERANK_URL: http://llama-rerank:8080 — but llama-rerank is on
the default `bridge` network, not drawbar-backend_default,
so chem-mcp's reranker silently fails! Documented patch:
docker network connect drawbar-backend_default llama-rerank
Fixes rerank for BOTH chem-mcp (today: dense-only fallback)
and the new seed-mcp.
- Watchtower label set so CI pushes to :latest auto-deploy.
Documented llama-rerank service block as an alternative for
bringing the sidecar fully into the parent compose stack, with the
ubatch-size flag the seed corpus needs.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
justin
merged commit c5a00afca2 into main2026-05-25 17:23:21 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes CI build (localhost in OLLAMA_URL was hitting the runner container's own loopback). Rewrites deploy/docker-compose.yml to match Drawbar's actual parent-stack pattern (learned by inspecting chem-mcp deployment on trashpanda).
Also documents a network-attach patch — llama-rerank is on the wrong Docker network so chem-mcp's reranker has been silently failing. The patch fixes rerank for both chem-mcp and the new seed-mcp.
CI was failing on the "Rebuild indexes from committed corpus" step with httpx.ConnectError [Errno 111] — `localhost:11434` in the OLLAMA_URL pool resolves to the Gitea Actions runner CONTAINER's own localhost (no Ollama there), not the host. Fix: drop localhost from CI's pool; it stays useful for dev runs from the workstation where the TITAN X serves Ollama on the host loopback. Final CI pool — 3 LAN endpoints, weighted to .0.125 (4090): .0.125:11434 ×4 (RTX 40-series, 242 embeds/sec) .0.2:11436 ×2 (GPU-pinned, 108 embeds/sec) .0.2:11435 ×1 (GPU-pinned, 72 embeds/sec) deploy/docker-compose.yml — rewrite to match Drawbar's actual parent-stack pattern, learned by inspecting how chem-mcp is deployed on trashpanda: - Service name `seed-mcp` (matches chem-mcp's pattern). Reached via docker DNS as `seed-mcp:8080` from drawbar-backend-api. - Internal-only (no host port), expose 8080 only. - MCP_PORT=8080 inside container (chem-mcp uses 8080 too). - OLLAMA_URL via host.docker.internal:11434 (trashpanda's Ollama runs on the host). extra_hosts maps host-gateway. - RERANK_URL: http://llama-rerank:8080 — but llama-rerank is on the default `bridge` network, not drawbar-backend_default, so chem-mcp's reranker silently fails! Documented patch: docker network connect drawbar-backend_default llama-rerank Fixes rerank for BOTH chem-mcp (today: dense-only fallback) and the new seed-mcp. - Watchtower label set so CI pushes to :latest auto-deploy. Documented llama-rerank service block as an alternative for bringing the sidecar fully into the parent compose stack, with the ubatch-size flag the seed corpus needs. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>