Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

PocketBase

An entire backend in one container: SQLite, auth, realtime, file storage, and an admin UI. The simplest stack in the catalogue.

0.5 GiB

1 service, 2 GB disk

$5/mo

flat resource

$0.009/h

Usage Billing

What is PocketBase?

PocketBase is the antidote to backend over-engineering: one Go binary embedding SQLite, user auth (email + OAuth2), realtime subscriptions, file storage, and a genuinely good admin dashboard. For side projects, MVPs, and a surprising number of production apps, it is all the backend there is to need.

This is the simplest template in the catalogue - one service, one 2 GB volume. The admin UI lives at /_/ on your app domain; create the first superuser on first visit. SQLite and uploads persist on the volume across redeploys.

SQLite is single-writer, so this scales up (more RAM, the volume grows with you), not out - keep replicas at 1. That constraint is also why it is so famously fast and simple to operate.

What you get

  • Auth with email/password and OAuth2 providers, out of the box
  • Realtime subscriptions over SSE - live data without extra infrastructure
  • File uploads with thumbnails, stored on the volume
  • Admin dashboard for collections, rules, users, and logs
  • Extensible with JS hooks or as a Go framework
  • JS and Dart SDKs for web, mobile, and desktop apps

How it runs on Lyngbak

ServiceRolePublic
pocketbaseentire backend (API + admin UI at /_/)yes

Sizing and billing

512 MiB is plenty - PocketBase routinely serves thousands of concurrent users on less. Grow the volume as uploads accumulate; keep replicas at 1 (SQLite is single-writer).

Hobby resource$5/mo1 vCPU, 1 GiB, 10 GiB disk, shared CPU
Pro resource$25/mo1 vCPU, 2 GiB, 10 GiB disk, dedicated CPU
Usage Billing, shared CPU$0.009/h0.5 vCPU, 0.5 GiB reserved. $6.50/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.047/h1 vCPU, 2 GiB reserved. $34/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 1.95 GiB of volumes cost $0.15 per GiB a month ($0.29/mo) for as long as they exist. One workspace can use both. See pricing

Compared with the managed service

ServicePlanPriceIncludes
FirebaseBlaze (usage)Usage-based~$1-3/mo for a small app - scales per-read/write/MAU from there
Supabase CloudPro$25/mothe hosted Postgres-flavored equivalent

At tiny scale Firebase is nearly free - PocketBase is about owning the stack, SQL access, and a bill that never scales with success. Prices from each vendor's pricing page, June 2026.

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

Is PocketBase production-ready?

For small-to-medium apps, yes - it is a single Go binary on SQLite with WAL mode, and real products run on it. Its honest ceiling is write concurrency: one writer at a time. Read-heavy apps with moderate writes are its sweet spot.

What does PocketBase hosting cost?

This template fits in 512 MiB - the smallest full backend in the catalogue - on a flat resource or by the second on Usage Billing. Compare that with Firebase, where auth + database + storage costs scale per-use and per-MAU as you grow.

Why is there no required configuration?

PocketBase bootstraps itself: deploy, open https://your-domain/_/, create the first superuser, done. Do it promptly after deploying - until a superuser exists, anyone with the URL could claim it.

Can PocketBase scale horizontally?

No - SQLite is single-writer, so keep replicas at 1 and scale vertically (more RAM/CPU). If you outgrow it, the Supabase template in this catalogue is the structurally similar next step on Postgres.

More in Backend Platforms

Convex

Self-hosted Convex: the reactive backend (database + functions + scheduler) with its dashboard, on your infrastructure.

Open the template →

Hasura

Instant GraphQL over Postgres - queries, mutations, live subscriptions - stateless and Apache-2.0.

Open the template →

Supabase

The full self-hosted Supabase stack - Postgres, Auth, REST, Realtime, Storage, Studio - behind one Kong gateway.

Open the template →
PocketBase: backend-in-one-file with Docker Compose | Lyngbak (formerly Miget)