Skip to content

Add Docker image test script, fix stale API key env vars, rewrite DOC… - #47

Merged
mythz merged 1 commit into
mainfrom
docker-install-ux
Aug 16, 2026
Merged

Add Docker image test script, fix stale API key env vars, rewrite DOC…#47
mythz merged 1 commit into
mainfrom
docker-install-ux

Conversation

@mythz

@mythz mythz commented Aug 16, 2026

Copy link
Copy Markdown
Member

…KER.md

scripts/test-docker.sh smoke tests a published or locally built image end to end: pulls it and reports whether the digest changed, checks the multi-arch manifest, non-root uid, HEALTHCHECK/CMD/volume declarations, bun + dotnet + llms-py versions, llms --init producing valid JSON, llms ls, then starts a container on a free port and polls for HTTP 200 and a healthy status. Exits non-zero on any failure so it can gate a release.

The API key env vars in .env.example and both compose files had drifted from providers.json — GROK_API_KEY, ZAI_API_KEY and GOOGLE_FREE_API_KEY no longer exist (they are XAI_API_KEY, ZHIPU_API_KEY and GOOGLE_API_KEY), and 10 providers were missing entirely. .env.example is now generated from the catalogue, with the docs URL for each provider's key.

Both compose files switch to env_file: .env so new providers don't need a per-key entry, add host.docker.internal:host-gateway so the container can reach a local Ollama or LM Studio, and publish on 127.0.0.1 by default.

DOCKER.md is rewritten around the llmspy.org/install.sh one-line installer, with the manual docker run / compose paths kept for people who want them.

Claude-Session: https://claude.ai/code/session_01GWaChcrVtD7gXw759pbkuv

…KER.md

scripts/test-docker.sh smoke tests a published or locally built image end to
end: pulls it and reports whether the digest changed, checks the multi-arch
manifest, non-root uid, HEALTHCHECK/CMD/volume declarations, bun + dotnet +
llms-py versions, `llms --init` producing valid JSON, `llms ls`, then starts a
container on a free port and polls for HTTP 200 and a healthy status. Exits
non-zero on any failure so it can gate a release.

The API key env vars in .env.example and both compose files had drifted from
providers.json — GROK_API_KEY, ZAI_API_KEY and GOOGLE_FREE_API_KEY no longer
exist (they are XAI_API_KEY, ZHIPU_API_KEY and GOOGLE_API_KEY), and 10
providers were missing entirely. .env.example is now generated from the
catalogue, with the docs URL for each provider's key.

Both compose files switch to `env_file: .env` so new providers don't need a
per-key entry, add `host.docker.internal:host-gateway` so the container can
reach a local Ollama or LM Studio, and publish on 127.0.0.1 by default.

DOCKER.md is rewritten around the llmspy.org/install.sh one-line installer,
with the manual docker run / compose paths kept for people who want them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GWaChcrVtD7gXw759pbkuv
@mythz
mythz merged commit b83423f into main Aug 16, 2026
1 check passed
@mythz
mythz deleted the docker-install-ux branch August 16, 2026 02:01
@mythz
mythz restored the docker-install-ux branch August 16, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant