Self-hosted story point estimation
Teams with strict data policies can run their own Backlogfit instance. It is one small, signed container image with no external database and no outbound connections, so it fits in isolated and air-gapped networks.
Deployment options
- Container (Podman or Docker). A Node.js server that serves the web app and runs rooms in memory, optionally persisting to SQLite in a volume.
- Cloudflare Workers. Deploy the Worker and Durable Object version to your own Cloudflare account.
Run the container
The image is distroless, runs as a non-root user, works with a read-only root file system and keeps rooms in memory by default:
podman run -d --name backlogfit -p 127.0.0.1:8080:8080 --read-only --tmpfs /tmp:rw,size=16m,mode=1777,noexec,nosuid,nodev --cap-drop=ALL --security-opt=no-new-privileges --memory=256m --pids-limit=128 -e PUBLIC_ORIGIN=https://estimate.example.com -e TRUST_PROXY=true ghcr.io/sinet2000/backlogfit:latest Docker accepts the same flags. Put the container behind a reverse proxy that terminates TLS
(hence TRUST_PROXY=true and the loopback-only port), and set PUBLIC_ORIGIN to the address your team uses. To keep rooms across restarts, add -e DATA_DIR=/data -v backlogfit-data:/data.
To build the image from source, use --format docker so the health check is kept:
podman build --format docker -f apps/server/Containerfile -t backlogfit .Settings
| Variable | Default | Purpose |
|---|---|---|
PUBLIC_ORIGIN | required in production | Exact public origin; checked on room creation and WebSocket upgrades. |
ALLOWED_ORIGINS | empty | Extra exact origins, comma separated. |
PORT / HOST | 8080 / 0.0.0.0 | Listen address inside the container. |
TRUST_PROXY | false | true (one proxy), a hop count 1–9, or cloudflare; decides which address rate limits use. |
DATA_DIR | empty (memory) | Directory for SQLite storage if rooms should survive restarts. |
DEFAULT_LIFETIME_HOURS | 2 | Default room lifetime (1–24). |
MAX_LIFETIME_HOURS | 8 | Hard maximum including extensions (1–24). |
IDLE_TIMEOUT_MINUTES | 30 | Close rooms without activity. |
MAX_PARTICIPANTS | 50 | Upper bound per room. |
MAX_TASKS | 500 | Tasks per room. |
MAX_ROOMS | 1000 | Concurrent rooms per server. |
MAX_MESSAGE_BYTES | 16384 | Largest accepted WebSocket message. |
RATE_MSGS_PER_SEC / RATE_BURST | 20 / 40 | Per-connection message rate limit. |
ROOM_CREATE_PER_MIN | 10 | Room creations per client address per minute. |
PASSCODE_MAX_ATTEMPTS | 5 | Wrong passcodes per room before passcode joins are refused. |
MAX_CONNECTIONS | 5000 | Concurrent WebSocket connections per server. |
MAX_CONNECTIONS_PER_CLIENT | 50 | Concurrent WebSocket connections per client address. |
WS_UPGRADES_PER_MIN | 120 | WebSocket upgrades per client address per minute. |
HELLO_TIMEOUT_SECONDS | 20 | Close sockets that do not join within this time. |
HEARTBEAT_SECONDS | 30 | WebSocket ping interval; dead sockets are dropped. |
Invalid or out-of-range values stop the server at start-up. See the self-hosting guide for hardening advice, reverse proxy examples and network layout.
Verify the image
Every release image is signed with Sigstore cosign (keyless), scanned with Trivy, and comes with CycloneDX SBOMs and build provenance. Deploy by digest and verify the signature first:
cosign verify ghcr.io/sinet2000/backlogfit@sha256:<digest> --certificate-identity-regexp '^https://github.com/Sinet2000/backlogfit/.github/workflows/release.yml@refs/tags/v' --certificate-oidc-issuer https://token.actions.githubusercontent.comNext steps
- Security overview for your review board.
- Releases with SBOMs and notes.
- Source code under the Apache-2.0 license.