Claude Transcripts docs GitHub
Work in progressUnder active development โ€” not tested as ready for use. Breaking changes land without notice, stored data may need to be discarded between revisions, and there is no auth or security model.

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

PortServiceNotes
7650webapiAPI, webui at /app, docs at /docs, downloads at /downloads/. The one EXPOSEd port
7652CouchDBFauxton at /_utils/
7653Garage S3 API
7654Garage admin API
7655Garage web UI
7656Meilisearchdevelopment mode, so its built-in dashboard is on
7657Meilisearch UI
7658Fossilweb 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:

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.

VariableDefault
OMNIBUS_BIND0.0.0.0The 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_PORTsee the table abovePorts inside the container
WEBAPI_PORT7650
COUCHDB_USERadmin
COUCHDB_PASSWORDgenerated
GARAGE_RPC_SECRET, GARAGE_ADMIN_TOKEN, GARAGE_METRICS_TOKENgenerated
MEILI_MASTER_KEYgeneratedThe webapi uses it as MEILI_API_KEY
S3_ACCESS_KEY, S3_SECRET_KEYminted at first bootThe app's key on its bucket
OMNIBUS_GIT_FETCH1Fetch the source clone on boot
OMNIBUS_WAIT_SECONDS120How long provisioning waits for each service
OMNIBUS_MAX_RESTARTS, OMNIBUS_RESTART_WINDOW5, 60A 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/:

  1. 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.
  2. couchdb, garage, meilisearch, fossil (longruns). Fossil's start seeds the configured repositories, the same way the Fossil image does.
  3. 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.
  4. 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

``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):

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