$selfhostrecipes.com

Self-hosted alternatives to Firebase

Self-hosted backend platforms with a database, auth and file storage.

Facts below come from each project's own documentation; every claim links to the page it came from. We have not benchmarked these apps. Facts checked 2026-11-27. Features you rely on may differ, so check the project docs before migrating.

Supabase (self-hosting)

Supabase is the Postgres development platform, building Firebase-like features on open source tools.

Licence
Apache-2.0
Needs
Docker Compose stack of many services; minimum 4 GB RAM, 2 CPU cores, 40 GB SSD

Documented features

  • Postgres database with auto-generated REST, GraphQL and Realtime APIs [source]
  • Authentication and authorization [source]
  • File storage, edge functions and database functions [source]
  • AI and vector/embeddings toolkit and a Studio dashboard [source]

What to know / what you give up

  • Self-hosted runs a single project; no branching, managed backups/PITR or Management API [source]
  • Supabase CLI local stack is not hardened for production and must not be exposed [source]
  • You are responsible for secrets, backups and updates when self-hosting [source]

Appwrite

Appwrite is an open-source platform for building and scaling apps, available as managed cloud and self-hostable.

Licence
BSD-3-Clause
Needs
Minimum: 2 CPU cores, 4 GB RAM, 2 GB swap; Docker Compose v2

Documented features

  • Auth with email, SMS, OAuth, anonymous sessions and magic URLs [source]
  • Databases, file Storage, Functions and Sites hosting [source]
  • Messaging (email, SMS, push) and Realtime subscriptions [source]
  • Runs on any OS that can run Docker CLI, installed with one command [source]

What to know / what you give up

  • Docker API version mismatch can break install/upgrade; DOCKER_API_VERSION workaround documented [source]
  • Upgrading from older versions requires the migration tool [source]

PocketBase

PocketBase is an open source Go backend with an embedded SQLite database, realtime subscriptions, files and users management, and an admin UI.

Licence
MIT
Needs
No external services: embedded SQLite; data in pb_data directory

Documented features

  • Embedded SQLite database with realtime subscriptions [source]
  • Built-in files and users management [source]
  • Admin dashboard UI and REST-ish API [source]
  • Single executable; extendable with JavaScript or as a Go framework [source]

What to know / what you give up

  • Under active development; backward compatibility not guaranteed before v1.0.0 [source]
  • No official Docker image; docs give a minimal Dockerfile example [source]
  • README notes the repo has moved to ganigeorgiev.com/pocketbase/pocketbase [source]

What you give up by self-hosting

Head-to-head: Supabase (self-hosting) vs PocketBase