TL;DR — Quick Summary

Deploy Supabase self-hosted — the open-source Firebase alternative. PostgreSQL database, auto-generated REST/GraphQL APIs, authentication, file storage, edge functions, and real-time subscriptions.

Supabase — Self-Hosted Firebase

git clone https://github.com/supabase/supabase
cd supabase/docker
cp .env.example .env  # Edit secrets!
docker compose up -d

Components

ServicePurpose
PostgreSQLMain database
PostgRESTAuto REST API from DB schema
GoTrueAuth (email, OAuth, magic link)
RealtimeWebSocket subscriptions
StorageS3-compatible file storage
Edge FunctionsDeno serverless functions
StudioWeb-based admin dashboard
KongAPI gateway