One private registry for containers, npm, and cargo
Gantry serves OCI images, npm packages, and Rust crates from a single container. Blobs live in your object storage; metadata lives in embedded Turso, Turso Cloud, Postgres, or a change log in the same bucket. Use it hosted, or run it yourself.
An org holds as many registries as it needs, one format each, behind the same tokens, teams, and audit log. The clients you already use talk to it directly.
Containers
OCI images
Push and pull with docker. Passes the OCI distribution-spec conformance suite: 850 passed, 0 failed.
Unpublished version numbers stay retired, as on npmjs
terminal
npm config set registry https://registry.gantry.willothy.dev/npm/acme/js/npm config set //registry.gantry.willothy.dev/npm/acme/js/:_authToken "$GANTRY_TOKEN"
Cargo
Rust crates
A sparse index cargo reads directly. Authenticate with cargo's own token provider.
cargo login, publish, and yank with --registry acme
Make any registry a read-only cache of Docker Hub (or GHCR, ECR, Quay), npmjs, or crates.io. Gantry fetches what it does not have, verifies it against its digest, integrity, or checksum, and keeps serving it when the upstream is down. Cached versions are audited and pruned by retention like any other.
terminal
docker pull registry.gantry.willothy.dev/acme/hub/alpine:3.20npm config set registry https://registry.gantry.willothy.dev/npm/acme/npmjs/
Security and compliance
Every change accounted for
Access comes from your identity provider and narrow grants, CI publishes without stored secrets, and every mutation lands in a tamper-evident log you can ship to your SIEM.
Hash-chained audit log
Every mutation records an event in the same transaction as the change. Each event's hash covers the event and the previous hash, so editing or removing one breaks the chain, and one API call recomputes it.
Stream the chains to your bucket as JSON lines, to Splunk's HTTP Event Collector, or to Datadog, and verify a downloaded copy offline.
Connect an org to your OpenID Connect provider with allowed domains and a default role. Teams sync from IdP groups at every sign-in.
Fine-grained tokens
Grants scope a token to registries, package globs, and actions. Tokens people create are bound to them and never do more than they can.
Trusted publishing
CI trades its OIDC token (GitHub Actions or any issuer you trust) for a 15-minute registry token, checked against claims like repository and ref. Nothing to store.
Signed webhooks
Publishes, deletes, tags, and token events reach your CI or chat as HMAC-signed requests, retried for a day, with a delivery log in the console.
Envelope encryption
Upstream passwords and client secrets are encrypted with a keyring, AWS KMS, or Vault transit. Rotated secrets reload from files without a restart.
Outbound guard
Upstreams and identity providers must be public addresses, checked when saved and on every connection and redirect, so cloud metadata stays out of reach.
Signed-image enforcement
In review
Refuse pulls of images without a valid signature, per registry.
SCIM provisioning
In review
Create, update, and suspend users from your IdP.
SAML
Planned
Company sign-in for IdPs that do not speak OpenID Connect.
Cloud or self-host
The same binary, wherever you want it
Start on the hosted registry, or run Gantry in your own cloud on your own bucket. Self-hosted servers can link to Gantry Cloud so people keep one account across both.
For individuals and startups
Early access
Gantry Cloud
A registry with nothing to run. Sign in, create an org, invite your team, and publish from CI. During early access, sign-in is open to an allowlist; we are adding people as we go.
Run it next to your workloads with your identity provider, your keys, and your SIEM. Until the first tagged release, build the image from the repository.
Company SSO over OpenID Connect, teams from IdP groups
SCIM provisioningIn review
SAML sign-inPlanned
Audit export to your bucket, Splunk, or Datadog
Keys in AWS KMS or Vault transit, keyless bucket access
Gantry is one Rust binary in a distroless container. It serves the three protocols, the management API, and sign-in. Blobs go to the bucket you already run; the package index goes to the metadata backend you pick.
Clients reach one Gantry container, which keeps blobs in object storage and metadata in the backend you pick.
docker
npm
cargo
console
CI with OIDC
gantry
OCI · npm · cargo · /api/v1 · /auth · /metrics
Object storage
Blobs, tarballs, crates, and the optional change log and audit export
S3 · R2 · MinIO · Tigris · GCS · Azure · disk
Metadata
Registries, packages, tokens, teams, and the audit chain
Turso · Turso Cloud · Postgres · bucket log
Pick a metadata backend
Backend
Setting
Replicas
Local disk
Embedded Turso
default
One
The volume is the database
Bucket change log
GANTRY_META_LOG=bucket
One writer; a second is fenced
A cache; an empty one restores from the bucket
Turso Cloud
GANTRY_TURSO_DATABASE_URL
One
A cache; an empty one restores from Turso Cloud
Postgres
GANTRY_DATABASE_URL
Any number, rolling
None
Pick a metadata backend
Embedded Turso
default
Replicas
One
Local disk
The volume is the database
Bucket change log
GANTRY_META_LOG=bucket
Replicas
One writer; a second is fenced
Local disk
A cache; an empty one restores from the bucket
Turso Cloud
GANTRY_TURSO_DATABASE_URL
Replicas
One
Local disk
A cache; an empty one restores from Turso Cloud
Postgres
GANTRY_DATABASE_URL
Replicas
Any number, rolling
Local disk
None
Presigned downloads
Gantry checks the token, then answers with a 307 to a presigned URL, so layers, tarballs, and crates come straight from the bucket or your CDN.
Retention and GC
Keep the newest N versions, drop old or untagged ones, and preview what a policy deletes before saving it. Tags are always kept.
Prometheus and OpenTelemetry
/metrics, /healthz, and /readyz on a listener of their own, OTLP traces, and a Grafana dashboard with alert rules.
Drains and limits
On SIGTERM Gantry fails readiness, keeps serving, then drains. Bodies, uploads, and API calls are limited with Retry-After.