Skip to content
Logo

Self-hosting

FlarePanel is one codebase: the hosted service and a self-hosted install run the same code. Self-hosting puts everything in your Cloudflare account, so your events never leave it and you pay Cloudflare directly for what you use.

What you need

  • A Cloudflare account on the Workers Paid plan. The API bundle is about 4.6 MB compressed, above the free plan's 3 MB limit.
  • A domain on Cloudflare DNS for the API and dashboard, for example api.example.com and analytics.example.com.
  • Bun and the repository.

What gets created

ResourceUsed for
Worker flarepanel-apiTracking, the dashboard API, auth, jobs
Worker flarepanel-dashboardThe dashboard
D1 databaseAccounts, organizations, projects, clients
Durable ObjectsOne per project: events, sessions, rollups, live sockets; plus rate limits and locks
R2 bucketRaw event archive (optional; without it events are kept 30 days)
QueuesBackground jobs and their dead-letter queue
Email Service bindingAccount emails (optional)

A one-command setup is planned. Until then, follow Deploy to Cloudflare.