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
| Service | Purpose |
|---|---|
| PostgreSQL | Main database |
| PostgREST | Auto REST API from DB schema |
| GoTrue | Auth (email, OAuth, magic link) |
| Realtime | WebSocket subscriptions |
| Storage | S3-compatible file storage |
| Edge Functions | Deno serverless functions |
| Studio | Web-based admin dashboard |
| Kong | API gateway |