
Dublyobase
Postgres-backed BaaS. Supabase power, PocketBase simplicity.
Open-source, self-hosted backend-as-a-service written in Go. Auth, REST, realtime, file storage, and an embedded admin UI at /_/ — all in one 512 MB container. PocketBase's DX with a real PostgreSQL database underneath. Free forever, unlimited projects, deploy in minutes.

Every BaaS forces a compromise
PocketBase is beautifully simple — one binary, one file, done. But SQLite means single writer, no network access to the DB, no row-level security, no pgvector, no realtime pub/sub past a single process. Great for a solo project. Fragile past ten collaborators.
Supabase gives you all of that plus more, but their self-hosted stack isten containers — Postgres, GoTrue, PostgREST, Realtime, Storage, Kong, Studio, Meta, Analytics, Functions. Any single one going down takes the whole app with it. And on their hosted plan, you're billed per project, per MAU, per GB egress. Cheap becomes expensive fast.
You want the PocketBase experience — one container, admin UI at /_/, done — with a real Postgres underneath. That's Dublyobase.
One Go binary. One Postgres. That's it.
Dublyobase is a single Go binary that speaks HTTP on port 8080. It embeds the admin UI, handles auth, generates REST endpoints from your collections, streams realtime changes to WebSocket clients via Postgres LISTEN/NOTIFY, and stores uploaded files on disk or S3. Behind it: a stock postgres:16-alpine container — no forks, no extensions you can't disable, no proprietary schema.
Every request goes through one process. Migrations run on startup. Admin creation happens the first time you hit /_/. Restarts are a no-op — the DB is durable, the storage volume is durable, and the app is stateless. Two containers total. No Redis, no Kong, no Studio, no Realtime sidecar. Just Postgres and Go.
What is Dublyobase?
Dublyobase is an open-source Supabase alternative with the developer experience of PocketBase and the storage power of PostgreSQL. Log into the admin UI at/_/, define collections, and get auto-generated REST endpoints, JWT auth, file uploads, and realtime subscriptions — instantly. Row-level security policies are managed in the UI or as raw SQL. pgvector is one click away for AI embeddings. Full-text search is native. No serverless functions, no Kong routing rules, no separate storage service. Just SQL and REST.
Dublyobase vs. PocketBase vs. Supabase
Same DX. Different storage floor. Different ceiling.
| Dublyobase | PocketBase | Supabase (self-hosted) | |
|---|---|---|---|
| Database | PostgreSQL 16+ | SQLite | PostgreSQL 15 |
| Container count | 2 | 1 | 10+ |
| Min RAM to run | ~512 MB | ~64 MB | ~4 GB |
| Concurrent writers | Unlimited | 1 (SQLite) | Unlimited |
| Admin UI | Embedded at /_/ | Embedded at /_/ | Separate Studio container |
| Realtime | Postgres LISTEN/NOTIFY | Server-Sent Events | Realtime service (Elixir) |
| Row-level security | ✅ Native Postgres RLS | Rule strings on collections | ✅ Native Postgres RLS |
| Vector search | ✅ pgvector one-click | ❌ | ✅ pgvector |
| Cost at 100k users | $10.08/mo (server only) | $10.08/mo | ~$599/mo hosted |
| License | Apache-2.0 | MIT | Apache-2.0 (mostly) |
| Vendor lock-in | None — standard Postgres | SQLite file | Custom schema, GoTrue tables |
Everything you need for a real product backend
🔐 Auth
Email + password with argon2id hashing, JWT sessions, OAuth (Google, GitHub, Apple), password reset, email verification. Admin at /_/.
🗄️ Collections
Define collections in the admin UI or via SQL. Every table gets auto-generated CRUD REST endpoints with pagination, filtering, and expand.
🛡️ Row-level security
Native Postgres RLS. Policies scoped to auth.uid(), tenant IDs, or your own functions. Write them in SQL or generate common ones from a form.
⚡ Realtime
Subscribe to any table via WebSocket. Server pushes changes fanned out from PostgresLISTEN/NOTIFY — no Redis, no separate service, no polling.
📁 File storage
Upload files via a signed URL. Local disk by default (64 MB cap, configurable) or point at any S3-compatible bucket (MinIO, R2, Backblaze) via env vars.
🧠 Vector search
pgvector enabled with one click. Store embeddings alongside your rows, query with cosine similarity, join to structured data. Native SQL — no separate vector DB.
🔎 Full-text search
Postgres tsvector + GIN indexes. Search across any field, weight results, highlight matches. Ships in every query result.
📊 Admin UI
Familiar PocketBase-style admin at /_/. Manage collections, records, users, policies, SMTP, storage — all without touching a config file.
Minutes to a production BaaS
- Provision a server on Dublyo. Any provider (Hetzner, Vultr, DigitalOcean, OneProvider). A
cx23at $10.08/mo is plenty. - Click "Dublyobase" from the template catalog. The template auto-generates a JWT secret, a Postgres password, wires up TLS via Traefik, and starts pulling the image.
- Wait a few minutes for the image + migrations. Dublyobase runs
flask upgrade-db-equivalent migrations automatically on first start. - Open
https://your-domain/_/. Log in with[email protected]/dublyo. Change the password when prompted. - Start building. Create your first collection, hit the auto-generated REST API from your frontend, and go.
Prefer to self-host outside Dublyo?docker compose up -d in thegithub.com/dublyo/dublyobaserepo. Same image. Same setup. No Dublyo required.
Boring tech, on purpose
Ready to own your backend?
Free. Unlimited. Self-hosted. Deployed in minutes on a $10.08/mo server of your own.