The best self-hosted backend as a service depends on how much you want to run. PocketBase is the lightest (one binary, SQLite), Appwrite has the most complete self-hosted feature set, self-hosted Supabase gives you the full Postgres stack in one Compose file, and WoWSQL Self-Hosted is a smaller Apache-2.0 Postgres stack (REST API, auth, storage, realtime and a dashboard) for one project on a 4 GB machine. Nhost and Parse Server suit teams that specifically want GraphQL (Nhost) or the Parse SDKs.
This guide compares the six on licence, database, components, stated hardware, how many projects one install handles, and the operations work you take on. Every competitor fact was checked on the vendor's own docs or GitHub on 25 November 2026 and is linked.
Key facts
- WoWSQL Self-Hosted (github.com/WoWSQL/WoWSQL): Apache-2.0, Docker Compose, 4 GB RAM minimum, PostgreSQL 18, PostgREST REST API, auth, storage, realtime and a dashboard with table and SQL editors. One admin user and one project per install. WoWSQL provides no backups and community support only (legal/self-hosted).
- Self-hosted Supabase: 4 GB RAM minimum (8 GB+ recommended), 2 CPU cores, 40 GB SSD. Runs as a single project, without managed backups, PITR, branching or the Management API (Supabase docs).
- Appwrite: BSD-3-Clause, 2 CPU cores, 4 GB RAM and 2 GB swap; PostgreSQL (default), MariaDB or MongoDB (Appwrite install docs).
- PocketBase: MIT, a single Go binary on embedded SQLite; scales on one server only and is a volunteer project with "no promises for maintenance and support" (PocketBase FAQ).
- No GraphQL in WoWSQL: it generates REST (and MCP on the hosted service). If you need GraphQL, look at Nhost (Hasura) or Supabase.
What "self-hosted BaaS" really means
A backend as a service bundles the pieces every app needs: a database, user sign-up and login, file storage, an API generated from your schema and, usually, realtime updates. Self-hosting means you run that bundle on your own server or cloud account instead of paying a vendor to run it.
People self-host for three reasons:
- Data control. The data never leaves a network you control. This is the most common reason in regulated or public-sector work.
- Cost at scale. A VPS can be cheaper than managed plans once usage is large and steady.
- Local development and offline demos. The whole backend runs on a laptop.
The trade is that you become the vendor. Appwrite's own docs warn that self-hosting "often costs more when factoring in time and expertise" (Appwrite). A 2026 r/Supabase thread from an EU edtech team moving off Supabase Cloud for compliance reasons says the same: "The operational cost of 'self' hosting will likely far outweigh any reduction in direct cloud bill" (Reddit). If cost is your only reason, price the hours first.
The six options compared (25 November 2026)
| Licence | Database | Main components | Stated minimum | Projects per install | Install | |
|---|---|---|---|---|---|---|
| Supabase | Apache-2.0 | PostgreSQL | Auth, REST and GraphQL APIs, Storage, Realtime, Edge Functions, Studio | 4 GB RAM, 2 cores, 40 GB SSD | 1 | Docker Compose; community Kubernetes |
| Appwrite | BSD-3-Clause | PostgreSQL (default), MariaDB or MongoDB | Auth, Databases, Storage, Functions, Messaging, Realtime, Console | 2 cores, 4 GB RAM, 2 GB swap | Multiple, managed in the Console as on Appwrite Cloud | Docker installer, Helm chart, one-click marketplaces |
| PocketBase | MIT | Embedded SQLite | Auth (15+ OAuth2 providers), files, realtime, admin dashboard | Not stated (one binary) | 1 app per binary | Download and run |
| Nhost | MIT | PostgreSQL | Hasura GraphQL, Auth, Storage, Functions | Not stated | 1 per Compose stack | Docker Compose reference implementation |
| Parse Server | Apache-2.0 | MongoDB 7/8 or PostgreSQL 16-18 | REST and GraphQL APIs, auth, files, cloud code (Node.js) | Not stated | 1 app per Parse Server instance | npm or Docker, on Node.js 20-26 |
| WoWSQL Self-Hosted | Apache-2.0 | PostgreSQL 18 | PostgREST REST API, auth, storage, realtime, dashboard, API docs | 4 GB RAM | 1 project, 1 admin user | Docker Compose |
Sources: Supabase self-hosting and Docker guide, Appwrite self-hosting and installation, PocketBase and FAQ, Nhost self-hosting and Compose example, Parse Server README, WoWSQL Self-Hosted README. Licences are as reported by GitHub for each main repository on 25 November 2026.
Community size matters when you are the support team. GitHub stars on 25 November 2026: Supabase about 115,000, PocketBase about 61,500, Appwrite about 58,600, Parse Server about 21,400, Nhost about 9,400 and WoWSQL 42. Stars are a rough signal, but a bigger community means more answered questions, guides and third-party fixes. Here the first four are far ahead of WoWSQL.
Each option in one honest paragraph
Supabase (self-hosted)
The full Supabase stack (Postgres, Auth, PostgREST, Realtime, Storage, Edge Runtime and Studio) runs from one docker-compose.yml, and a Linux setup script now generates secrets for you. Supabase's docs are candid that a self-hosted install "runs as a single project" and loses branching, managed backups and PITR, and the Management API. It needs more hardware than most: 8 GB+ RAM is the recommendation. Pick it if you already know Supabase or plan to move between cloud and self-hosted.
Appwrite
Appwrite was "designed from the ground up with self-hosting in mind", and its docs say self-hosted instances have "access to the same features found on Appwrite Cloud". The newest releases add a web setup wizard, a choice of PostgreSQL, MariaDB or MongoDB, and an official Helm chart. The latest release was 2.7.4 on 19 November 2026. Pick it for the most complete self-hosted product, including functions and messaging, and an easy Kubernetes path.
PocketBase
A single file you download and run, with auth, files, realtime and an admin UI on embedded SQLite. Its FAQ says it scales "only on a single server" and reports 10,000+ persistent realtime connections on a small 2 vCPU / 4 GB VPS. It has no cloud functions; you extend it as a Go or JavaScript framework instead. It is still pre-1.0 (v0.40.6 on 23 October 2026) and is a personal volunteer project. Pick it for small and mid-size apps where simplicity beats SQL features.
Nhost
Nhost's self-hosted edition is a Docker Compose reference implementation of its cloud stack: Postgres, the Hasura GraphQL engine, Auth, Storage and Functions. Nhost describes it as "for demonstration purposes" with community support, and sells a support agreement or a managed dedicated cluster if you need more. Pick it if you want GraphQL with Hasura permissions on Postgres. See our WoWSQL vs Nhost comparison for the hosted side.
Parse Server
The oldest option here: an open-source Node.js backend that grew out of Facebook's Parse. It runs on Express, stores data in MongoDB or PostgreSQL, and gives you REST and GraphQL APIs, auth, files and cloud code, with mature SDKs. You add Parse Dashboard separately. Pick it if you have Parse experience or want MongoDB with a backend framework you control in Node.js.
WoWSQL Self-Hosted
The self-hosted edition of WoWSQL runs nine containers from one Compose file: PostgreSQL 18, PostgREST, auth, storage, realtime (with Redis for presence and broadcast), a dashboard API, a Kong gateway on port 8080 and the dashboard on port 3000. You get a table editor, a SQL editor, auto-generated REST API docs and optional Row Level Security with auth.uid(), auth.role() and auth.jwt() helpers. The limits are deliberate: one admin user and one project per install, no team features, and no backups or paid support from WoWSQL (legal/self-hosted). Pick it if you want a small Apache-2.0 Postgres BaaS that matches the hosted WoWSQL API, so you can develop locally and move to a hosted project later, or the other way round.
The operations work you take on
Whichever you choose, this list is now yours. It is the real cost of self-hosting.
| Job | What it means in practice |
|---|---|
| Backups | Scheduled database dumps copied off the server, plus regular restore tests. None of these projects backs up a self-hosted install for you. |
| TLS and a domain | A reverse proxy (Caddy, Nginx, Traefik) with certificates in front of the API and dashboard. PocketBase can do auto-TLS itself. |
| Secrets | Strong database passwords and JWT secrets, kept out of Git. Supabase recommends a secrets manager in production. |
| Network exposure | Only the gateway should face the internet. Keep Postgres, Redis and admin ports private. |
| Upgrades | Pull new images, read release notes and run migrations. Pin versions so an upgrade is a choice, not a surprise. |
| Monitoring | Disk space, memory, container health and alerts. A full disk is the most common way a small Postgres server dies. |
| Email and SMS | SMTP for verification and password-reset mail; an SMS provider if you use phone login. |
Try WoWSQL Self-Hosted in about 10 minutes
You need Docker Desktop (or Docker Engine with Compose v2) and at least 4 GB of RAM. These steps follow the repository README as of 25 November 2026.
1. Clone and configure
git clone https://github.com/WoWSQL/WoWSQL.git
cd WoWSQL/docker
cp .env.example .env
# Edit .env: set POSTGRES_PASSWORD and a JWT_SECRET of at least 32 characters
2. Start the stack
docker compose pull
docker compose up -d
docker compose ps # wait until the services report healthy (about 30 seconds)
3. Create the admin user
Open http://localhost:3000. On first launch the dashboard asks you to create the single admin account (email and password). API keys are generated from your JWT_SECRET on first boot; copy the anon key from the project's API keys page.
4. Call the REST API
Every table gets an endpoint under /rest/v1 on the Kong gateway:
# Read rows from the sample todos table
curl http://localhost:8080/rest/v1/todos \
-H "apikey: YOUR_ANON_KEY"
# Insert a row
curl http://localhost:8080/rest/v1/todos \
-H "apikey: YOUR_ANON_KEY" \
-H "Content-Type: application/json" \
-d '{"title": "Hello from WoWSQL"}'
The sample todos table ships with Row Level Security enabled and demo policies. New tables are created without RLS unless you tick it in the table editor, so switch it on for any table the browser can reach. Our Row Level Security guide shows how to write the policies.
5. Lock down the ports before going online
The default Compose file publishes Postgres (5432) and Redis (6379) on the host, which is handy on a laptop. On a public server, firewall those ports or remove their ports: entries, and expose only the gateway through your reverse proxy with TLS. Set API_EXTERNAL_URL and STUDIO_EXTERNAL_URL in .env to your public URLs.
6. Schedule your own backups
WoWSQL does not back up self-hosted installs. With the default postgres user and database from .env.example:
# Nightly custom-format dump; copy the file off the server afterwards
docker exec wowsql-db pg_dump -U postgres -Fc postgres > wowsql-$(date +%F).dump
# Restore into a fresh install
docker exec -i wowsql-db pg_restore -U postgres -d postgres --clean < wowsql-2026-11-25.dump
The README says the storage service keeps files in Postgres (BYTEA), so a database dump should include uploaded files too. Test a restore on a spare machine before you rely on that. Note that docker compose down -v deletes all data volumes.
Self-hosted or hosted?
Self-hosting is not the only way to keep control. Every Postgres option here (Supabase, Nhost, Parse on Postgres and WoWSQL) lets you leave with pg_dump, so a hosted plan does not trap you. A sensible pattern is to run hosted while you find product-market fit and self-host later if a contract or your costs demand it.
If you go hosted with WoWSQL, the trade-offs flip: you get daily backups kept 7 days on Pro and Scale, email or priority support, team collaboration and a choice of Mumbai (ap-south-1), US East (us-east-1) or Frankfurt (eu-central-1). Plans are Free $0, Pro $25/month and Scale $99/month (pricing). The Free plan has no platform backups, so export your own.
Where others are better, and where WoWSQL fits
- Feature depth: Appwrite and Supabase self-hosted do far more (functions, messaging, branching on the Supabase cloud side) and have years of production use.
- Simplicity: PocketBase is easier to run than any Docker stack.
- GraphQL: Nhost, Supabase and Parse offer GraphQL; WoWSQL does not.
- Community: WoWSQL's self-hosted repo is new and small, so expect to read the code yourself sometimes.
WoWSQL Self-Hosted fits developers who want a light, Apache-2.0 Postgres backend with REST, auth, storage and realtime for one project, and the option to move to the hosted WoWSQL service with the same REST shape.
Related guides
- Self-hosted Supabase alternative: 4 options compared
- WoWSQL Self-Hosted: your backend, your servers, your rules
- PocketBase alternative on Postgres: WoWSQL vs PocketBase
- Appwrite vs Supabase (2026): which open-source BaaS?
- What is PostgREST? Auto REST APIs for Postgres
- What is backend as a service (BaaS)?
FAQ
What is the best self-hosted backend as a service?
It depends on what you want to run. Appwrite has the most complete self-hosted feature set, self-hosted Supabase gives the full Postgres stack, PocketBase is the simplest single binary, Nhost suits GraphQL fans, Parse Server suits Node.js and MongoDB teams, and WoWSQL Self-Hosted is a small Apache-2.0 Postgres stack for one project.
Which open-source Firebase alternative can I self-host?
Appwrite, Supabase, PocketBase, Nhost, Parse Server and WoWSQL Self-Hosted can all run on your own server with auth, a database and file storage. Appwrite and PocketBase feel closest to Firebase's all-in-one experience; Supabase, Nhost and WoWSQL are built on Postgres instead of a document store.
Supabase vs Appwrite vs PocketBase: which is easiest to self-host?
PocketBase is easiest: download one binary and run it. Appwrite has a web setup wizard and needs 2 cores and 4 GB of RAM. Self-hosted Supabase needs 4 GB minimum (8 GB+ recommended) and more configuration, and it runs as a single project.
How much RAM do I need to self-host a BaaS?
On 25 November 2026 the vendors state 4 GB minimum for self-hosted Supabase (8 GB+ recommended), 4 GB plus 2 GB swap for Appwrite, and 4 GB for WoWSQL Self-Hosted. PocketBase reports 10,000+ realtime connections on a 2 vCPU, 4 GB VPS.
Does self-hosted WoWSQL include backups or support?
No. Self-hosted WoWSQL is Apache-2.0 and provided as is, with community support only. You run backups, uptime and security yourself, for example with scheduled pg_dump files copied off the server. Daily backups and email support come with the hosted Pro and Scale plans.
Can I run more than one project on self-hosted WoWSQL?
Not in one install. The self-hosted edition has one admin user and one project. Run a separate install per project, or use the hosted service, where each paid plan includes a dedicated project.