Self-Host
PRE-RELEASE CLOUD. The local CLI needs no Frontguard service. Cloud source is included, but there is no supported one-command production self-host path.
Remember that @frontguard/cli, @frontguard/playwright, and @frontguard/mcp (in local report mode) require zero servers or cloud backends. This page documents the optional packages/cloud-api source for engineers evaluating self-hosted Cloudflare Workers.
Current status
The Compose build is not a verified clean-checkout flow and fails before the API starts because its package-scoped build context cannot access the repository OpenAPI sync script.
Architecture components
| Component | Source Location | Technology Stack |
|---|---|---|
Cloud API Worker | packages/cloud-api/ | Hono HTTP router targeting Cloudflare Workers |
Metadata Store | packages/cloud-api/migrations/ | Cloudflare D1 (SQLite) for runs, baselines, monitors, and SHA-256 hashed API keys |
CAS Blob Store | packages/cloud-api/src/routes/cas.ts | Cloudflare R2 bucket storing content-addressed PNGs under cas/{tenantScope}/{sha256}.png |
Before production use
The renderer image is not published yet. Build from source only for local engineering evaluation, and verify migrations, retention, recovery, authentication, and tenant isolation before production use.
