From d10dd54bcc1ad5bbdd2dd146d48ea57f128fd798 Mon Sep 17 00:00:00 2001 From: iksnerd Date: Fri, 1 May 2026 20:18:24 +0300 Subject: [PATCH 1/2] Default OLLAMA_MODEL to embeddinggemma:300m in docker-compose Adds OLLAMA_MODEL env var to the code_nexus service with embeddinggemma:300m as the default. Matches the existing 768-dim vector size and lets users override with `OLLAMA_MODEL=... docker-compose up`. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index da2520b..9bead49 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,7 @@ services: QDRANT_URL: "http://qdrant:6333" MCP_HTTP_PORT: "3002" OLLAMA_URL: "http://host.docker.internal:11434" + OLLAMA_MODEL: "${OLLAMA_MODEL:-embeddinggemma:300m}" WORKSPACE_HOST: "${WORKSPACE_HOST:-}" WORKSPACE_HOST_2: "${WORKSPACE_HOST_2:-}" WORKSPACE_HOST_3: "${WORKSPACE_HOST_3:-}" From b0b311431dfd054cb5a805cc49aaa2ea94652c90 Mon Sep 17 00:00:00 2001 From: iksnerd Date: Fri, 1 May 2026 20:23:17 +0300 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20code=5Fnexus=20healthcheck=20?= =?UTF-8?q?=E2=80=94=20use=20/dev/tcp=20instead=20of=20curl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The published image doesn't include curl, so every healthcheck probe failed with "executable file not found" and the container was reported unhealthy even though Phoenix on :4100 was serving fine. Switch to the same bash /dev/tcp probe qdrant uses. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9bead49..9c2cff2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,7 +41,7 @@ services: networks: - nexus healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:4100/"] + test: ["CMD-SHELL", "bash -c 'echo > /dev/tcp/localhost/4100'"] interval: 5s timeout: 3s retries: 10