Containers
The app image
claude-transcripts-app serves everything under one origin (ADR 0002, routes.md): the webapi, the webui at /app, the Scalar API reference at /api/docs, these docs at /docs, and the CLI binary at /cli/download (also on the container's PATH).
- Built from source by one multi-stage
Dockerfileonoven/bun:1, pinned by digest: the webui, the docs (build:docs) and the compiled CLI each build in their own stage and are copied into the runtime stage. - Carries
config/with the committed template. Mount/app/config/config.jsonto override it. Secrets and backend endpoints come from the environment at run time. - Listens on 7650 inside the container. Published to GHCR on each release (tags).
Tags
| Tag | Means | Pushed by |
|---|---|---|
vX.Y.Z | that release | a v*.*.* tag |
latest | the newest release | a v*.*.* tag |
<short-sha> | one commit | a v*.*.* tag, and manual dispatch |
Only release tags publish, so there is no image of unreleased code. install pins the app image to the CLI's own version and warns if the running app reports a different one. linux/amd64 only.
What every artefact (images, compose, Kubernetes, CLI, plugin) carries is tabled in distributions.md.
One Compose stack, two uses
deploy/docker-compose.yml is generated from the blueprint (bun run gen:compose). It holds CouchDB, Garage, Fossil, Meilisearch and their admin UIs (Fauxton, Garage web UI, Meilisearch UI; Fossil is its own web UI), plus the app under the app profile. Everything binds to 127.0.0.1.
- Development — backing services only (
bun run stack:up:upstream); the webapi, webui and CLI run on the host. Data is bind-mounted underdeploy/data/. - Deployment — the same stack with the app container added (
bun run scripts/stack.ts up --app, orinstall, which writes the compose files under~/.local/share/claude-transcripts/deploy/).
Images: the base file pulls from ${IMAGE_NS}, your mirror in GHCR (ADR 0024); docker-compose.upstream.yml (--upstream, and what install uses) swaps in the public upstream images — and builds Fossil, which publishes none, from deploy/fossil/Dockerfile. Only Garage is a straight copy; the rest are built here. Fossil has no upstream image. The other upstream images fail the scan gate as published, so the registry carries our own: CouchDB without its unused Nouveau service (deploy/couchdb/), Meilisearch with its Alpine packages upgraded (deploy/meilisearch/), a rebuild of the same Garage web UI release (deploy/garage-ui/), and the Meilisearch UI as static files behind nginx (deploy/meilisearch-ui/). --upstream still pulls the upstream images. Every image passes the scan gate before it is pushed (releasing.md); docker-compose.build.yml (--build) builds the app from the checkout.
Other topologies
- Kubernetes — the same stack, generated from the same model, two ways: a Helm chart in
deploy/helm/(README), published to GHCR on each release, which generates secrets and provisions Garage itself and works with Argo CD and Flux; or a plain kustomize base indeploy/k8s/(README) to clone andkubectl apply -k. Both suit a single-node k3s or any cluster with a default StorageClass (ADR 0030). - Omnibus — the whole stack in one container under s6-overlay, for a single Docker host that wants one
docker run(omnibus.md). - External backends — run the app container alone with its environment pointing at your own CouchDB, S3 and Meilisearch (configuration.md).
Planned, not built: maintained base images (a pinned Bun runtime, a Claude Code runtime). Every backing image but Garage is already built here rather than mirrored: Fossil because it has no upstream image (ADR 0031), the rest because their upstream images fail the scan gate.