AltFreeStack
Dev Toolsdocker-ready1-click-deploy

Supabase: the best Open Source alternative to Firebase in 2026

Supabase is the open source backend-as-a-service built on PostgreSQL: database, authentication, storage, edge functions and realtime subscriptions, all self-hostable.

License Apache-2.0 108.6k stars liveUpdated hoyWebsite GitHub Repository

Technical profile

License
Apache-2.0
Category
Dev Tools
Replaces
Firebase
Tech stack
PostgreSQLPostgRESTDenoElixir

Preview

Supabase interface preview

Public image provided by Supabase on its own website.

Key features

  • Full PostgreSQL database (not a subset)
  • Auth with OAuth, magic links and RLS
  • File storage with CDN
  • Realtime subscriptions and Edge Functions

Supabase vs. Firebase

Pros

  • Easier migration thanks to standard SQL

Things to consider

  • The full self-hosted stack has quite a few services to maintain

Quick Docker installation guide

Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →

docker-compose.yml
version: "3.9"
services:
  studio:
    image: supabase/studio:latest
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - SUPABASE_URL=http://kong:8000
  kong:
    image: kong:2.8-alpine
    restart: unless-stopped
    ports:
      - "8000:8000"
    depends_on:
      - db
  db:
    image: supabase/postgres:15.1.0.117
    restart: unless-stopped
    environment:
      - POSTGRES_PASSWORD=postgres
    volumes:
      - supabase_db_data:/var/lib/postgresql/data
volumes:
  supabase_db_data: