Omnibus image
claude-transcripts-omnibus is the whole stack in one container: CouchDB, Garage and its web UI, Meilisearch and its UI, Fossil, and the app (webapi, webui, docs), under s6-overlay. One docker run, one volume, and only the webapi's port needs publishing.
It is a distribution format for a single Docker host (a home server, Unraid, Synology), not the reference architecture. The Compose stack and the Kubernetes base run one container per service and remain the way to run it properly. What you give up is listed under trade-offs.
Run it
docker run -d --name claude-transcripts \
-p 127.0.0.1:7650:7650 -v ct-omnibus:/data \
ghcr.io/<owner>/claude-transcripts-omnibus:latest
Releases publish it to GHCR as vX.Y.Z, latest and <short-sha>, linux/amd64 only. To build it from a checkout instead:
bun run omnibus:build # โ claude-transcripts-omnibus:local
bun run omnibus:smoke # boot it twice on a scratch volume and check every surface
omnibus:build is one docker buildx bake (deploy/omnibus/docker-bake.hcl): the app image, the Fossil image and the omnibus build as one graph, and the omnibus copies from the other two rather than rebuilding what they contain. Set APP_IMAGE to a published app image to skip building one. That is what a release does: it assembles the omnibus from the app image it has just scanned and pushed.
Building needs Docker with BuildKit and buildx (Docker Desktop, or Docker Engine with the buildx plugin). Podman and buildah can't build it: they have no buildx bake and don't support ADD --checksum or ADD <git-url>. The same is true of deploy/fossil/Dockerfile. Running a published image works with either.
Then open http://127.0.0.1:7650/app/. First boot takes a minute or so while CouchDB starts and Garage gets its layout; docker ps shows healthy when it's done.
What's in it
| Port | Service | Notes |
|---|---|---|
| 7650 | webapi | API, webui at /app, docs at /docs, downloads at /downloads/. The one EXPOSEd port |
| 7652 | CouchDB | Fauxton at /_utils/ |
| 7653 | Garage S3 API | |
| 7654 | Garage admin API | |
| 7655 | Garage web UI | |
| 7656 | Meilisearch | development mode, so its built-in dashboard is on |
| 7657 | Meilisearch UI | |
| 7658 | Fossil | web UI and sync, one repository per path |
The ports are the dev stack's, projected from the blueprint at boot, so the webui's service links and the CLI's defaults point at the right places. Every service listens on all interfaces inside the container; which ports reach the host is the runner's choice. Publish the ones you want:
docker run -d -p 127.0.0.1:7650-7658:7650-7658 -v ct-omnibus:/data claude-transcripts-omnibus:local
Keep 127.0.0.1 on 7654 and 7655 in particular. The Garage admin API takes the admin token, and the Garage web UI has no login of its own but holds that token, so anyone who can reach 7655 has full control of Garage. To expose the web UI beyond localhost, give it a login with AUTH_USER_PASS (garage-webui's user:bcrypt-hash format) or put it behind an authenticating proxy.
Also inside:
- The CLI, on
PATH:docker exec -it claude-transcripts claude-transcripts sessions. - Downloads at
/downloads/: the CLI for glibc Linux and macOS (x64 and arm64), each with a.sha256, and the Claude Code plugin as a local marketplace, with install instructions on the page. The musl and baseline builds are on the GitHub release only.CT_DOWNLOAD_URL=<this instance>/downloadspointsinstall.shhere. Built from the same sources as the app, so the versions match. - The source repository, cloned at build time to
/workspace/claude-transcriptsand fetched on every boot (best-effort; setOMNIBUS_GIT_FETCH=0to skip). It can fetch but not push: the remote has no push URL, and a system-widepre-pushhook refuses pushes from any repository in the container. - The GitHub CLI (
gh), with no credentials. Public reads work, unauthenticated and rate-limited; setGH_TOKENfor more. It is built from the release's source rather than installed from GitHub's apt repo, so the image can carry fixed Go dependencies before upstream ships them. That build has no OAuth app, sogh auth login's browser flow isn't available; use a token.
Recording sessions from the host
The hook writes only through the webapi (ADR 0016), so a host recording into the omnibus needs nothing but 7650 published, and no store credential. Point the hook at it:
claude-transcripts setup --webapi http://<omnibus-host>:7650
Configuration
Environment variables only, all optional.
| Variable | Default | |
|---|---|---|
OMNIBUS_BIND | 0.0.0.0 | The interface every service except the webapi binds. 127.0.0.1 keeps them unreachable from outside the container even if their ports are published |
COUCHDB_PORT, GARAGE_S3_PORT, GARAGE_ADMIN_PORT, GARAGE_WEBUI_PORT, MEILI_PORT, MEILI_UI_PORT, FOSSIL_PORT | see the table above | Ports inside the container |
WEBAPI_PORT | 7650 | |
COUCHDB_USER | admin | |
COUCHDB_PASSWORD | generated | |
GARAGE_RPC_SECRET, GARAGE_ADMIN_TOKEN, GARAGE_METRICS_TOKEN | generated | |
MEILI_MASTER_KEY | generated | The webapi uses it as MEILI_API_KEY |
S3_ACCESS_KEY, S3_SECRET_KEY | minted at first boot | The app's key on its bucket |
OMNIBUS_GIT_FETCH | 1 | Fetch the source clone on boot |
OMNIBUS_WAIT_SECONDS | 120 | How long provisioning waits for each service |
OMNIBUS_MAX_RESTARTS, OMNIBUS_RESTART_WINDOW | 5, 60 | A core service that dies this many times in this many seconds stops the container |
A secret you don't supply is generated on first boot and kept in /data/secrets/ (one file per variable, plus s3.env for the S3 key), so restarts and upgrades reuse it. A variable you do supply wins over the stored one. App configuration (config/) is the image's template; mount /app/config/config.json to override it.
Build arguments: APP_IMAGE and FOSSIL_IMAGE (the component images to assemble; bake passes its own builds), OMNIBUS_GIT_URL and OMNIBUS_GIT_REF (the repository to clone), and the pinned upstream images and versions at the top of deploy/omnibus/Dockerfile.
How it starts
s6-overlay is PID 1. The services, in deploy/omnibus/rootfs/etc/s6-overlay/s6-rc.d/:
init-firstboot(oneshot) lays out/data, settles ports and secrets, and renders the CouchDB and Garage config. On every boot. Anything it generates is generated once.couchdb,garage,meilisearch,fossil(longruns). Fossil's start seeds the configured repositories, the same way the Fossil image does.init-provision(oneshot) waits until each of the four answers, then makes sure the CouchDB system databases exist and runs the dev stack's Garage bootstrap (layout, bucket, app key). Idempotent.webapi,garage-ui(longruns), after provisioning. The webapi creates its databases and search indexes as it does anywhere else.
meilisearch-ui and git-fetch only wait for step 1.
If a core service never becomes ready, provisioning fails and the container stops. If one keeps dying after that, its finish script stops the container, so the host's restart policy and monitoring notice. docker exec claude-transcripts omnibus-health prints every service's state; the HEALTHCHECK runs the same script.
Upgrade and backup
- Upgrade: pull or build the new image, then recreate the container on the same volume. Provisioning re-runs and changes nothing that exists. Meilisearch needs a dump and import across a major version; release notes will say when that applies.
- Backup: stop the container and copy the volume.
``bash docker stop claude-transcripts docker run --rm -v ct-omnibus:/data -v "$PWD":/backup alpine tar -czf /backup/ct-omnibus.tgz -C /data . docker start claude-transcripts ``
What differs from the compose stack
The same versions, and the same changes the registry stack's own images make so they pass the scan gate (grype and trivy, failing on fixed HIGH and CRITICAL findings):
- CouchDB's Nouveau (its optional Java search service) is removed and the OS packages are upgraded, as in
deploy/couchdb/. Nouveau is never enabled here; Meilisearch does search. - Garage web UI is the same rebuild from release source (
deploy/garage-ui/).
One change is the omnibus's own: Meilisearch is its glibc release binary, since the upstream image's is linked against musl and the omnibus is Debian.
Trade-offs
- One health status for seven processes.
- Every component upgrades with the image, in lockstep.
- One memory budget, no per-service limits.
- A bigger image than any single component.
- Only CouchDB drops to its own user. Fossil, Garage, the Garage web UI and Meilisearch run as root inside the container.