qubit-server. You can use Qubit Cloud at
cloud.usequbit.app, or run the same server yourself. A self-hosted server has every team feature
and no billing: organizations can have as many members as they like.| Image | ghcr.io/loopyreviews/qubit-server, for linux/amd64 and linux/arm64 |
| Tags | The full git commit SHA of every build of main, plus latest. Pin a SHA in production. |
| Database | SQLite (one instance, nothing to set up) or PostgreSQL (several replicas) |
| Ports | 8787 for the app, the API and the web dashboard. 9787 for Prometheus metrics; keep it private. |
| Required setting | QUBIT_SECRET_KEY, base64 of 32 random bytes |
65532, works with a read-only root filesystem and writes
only to /data. It includes the web dashboard, so the same address serves the
first-run setup, sign-in and the admin
Server page.12openssl rand -base64 32 # or: docker run --rm ghcr.io/loopyreviews/qubit-server gen-secret
QUBIT_PUBLIC_URL to the address people will use, for
example https://qubit.example.com.QUBIT_TRUST_PROXY=true so audit logs and rate limits see real client IPs. Always use
HTTPS on the public internet: payloads are end-to-end encrypted, but session tokens and
metadata are not.QUBIT_ALLOW_SIGNUPS=false. Invited people can still join an
organization, but they need an existing account, so create accounts before you turn sign-ups off.| Port | Path | Purpose |
| 8787 | GET /healthz | Liveness: the process is up. |
| 8787 | GET /readyz | Readiness: 200 when the database answers and QUBIT_SECRET_KEY matches it, 503 otherwise. |
| 8787 | /setup, /signin, /admin, /account, /orgs/… | The web dashboard, when the server serves it (QUBIT_WEB_DIR). |
| 8787 | GET /invite/<token> | Landing page for emailed invite links. |
| 8787 | /api/v1/… | The API the app and the dashboard use. |
| 8787 | GET /api/v1/orgs/<org>/ca.pub | An organization's SSH CA public key. No sign-in needed. |
| 8787 | POST /webhooks/stripe | Stripe's webhook, only when billing is on (Qubit Cloud). |
| 9787 | GET /metrics | Prometheus metrics: requests by status class, sign-ins, pushes, certificates issued. |
SIGTERM the server stops accepting connections and gives requests in flight up to 25 seconds
to finish. Give it a grace period of at least 30 seconds; the compose file and the Helm chart
already do. The server never closes idle keep-alive connections itself, so your proxy decides when
pooled connections end.