Kick off a software project quickly.

Logo Supabase

Supabase

The open-source Firebase alternative — a full Postgres backend with instant APIs, auth and a dashboard, self-hosted from Supabase's own official stack.

4 GB (8 GB for the full stack) RAM 2 vCPU Port 8000 Available

Tech stack

DockerPostgreSQLKongGoTruePostgRESTStudio
Minimum RAM4 GB (8 GB for the full stack)
Minimum CPU2 vCPU
Default port8000
Compatible OSubuntu-24.04

Supabase is an open-source backend-as-a-service built entirely around PostgreSQL. Instead of a proprietary NoSQL store locked to one vendor's cloud, you get a real Postgres database and a set of best-in-class services wired around it: PostgREST turns every table into an instant REST (and GraphQL) API, GoTrue handles email/password and OAuth authentication with JWTs, and Studio gives you a polished admin dashboard — table editor, SQL editor, auth and API-key management — in the browser.

On a ServOrbit VPS, Supabase becomes the entire backend for your web or mobile app: your data lives in a Postgres instance you fully own, your auth tokens are signed with your own JWT secret, and there is no per-request pricing or USD subscription — just a fixed monthly VPS cost. This one-click template deploys Supabase's own official Docker stack, pinned to a fixed release for reproducibility, trimmed to the self-consistent core: the Postgres database, GoTrue auth, PostgREST, the postgres-meta service and Studio, all behind Kong (the API gateway) on port 8000. Realtime, Storage, Edge Functions, the connection pooler and the analytics stack are left out to keep the footprint small; add them later from the same official compose. Because it uses Supabase's own init scripts, the auth schema and roles are provisioned exactly as upstream intends — no bespoke bootstrapping to drift out of date.

Key features

Full PostgreSQL database you own outright — every extension, every row, no proprietary lock-in and no per-operation billing.
Instant REST and GraphQL APIs via PostgREST — expose any table or view as a secure, filterable HTTP endpoint the moment you create it.
Built-in authentication (GoTrue) — email/password, magic links and OAuth providers, issuing JWTs signed with your own secret.
Studio dashboard — table editor, SQL editor, auth management and API-key browser served through Kong on port 8000.
Row Level Security — enforce per-user data access at the database layer, the same policies protecting API and dashboard alike.
Deployed from Supabase's own official Docker stack pinned to a fixed release — Apache-2.0, self-hosted, data stays on infrastructure you control.

When to use this solution?

1

Backend for a web or mobile app

Replace a hand-written CRUD API with Supabase: define your tables in the Studio SQL editor, enable Row Level Security, and your frontend talks to /rest/v1 and /auth/v1 directly through the supabase-js client. Auth, database and API ship as one stack on a single VPS.

2

Firebase migration without the USD bill

Move off Firebase's per-read/write pricing and vendor lock-in to a real Postgres backend at a fixed monthly VPS cost. You keep JWT auth and instant APIs, but gain SQL, joins, foreign keys and full data ownership — no surprise invoices, no data residency questions.

3

Internal tools and admin panels

Use Studio as a lightweight admin dashboard over your own data, and the auto-generated REST API to wire up internal tools, dashboards or automations — without building and maintaining a bespoke backend for each one.

Deploy Supabase on your VPS

Guide optimized for ServOrbit Cloud VPS.

01

Order a VPS

Pick a ServOrbit VPS with at least 4 GB RAM (Postgres is the memory-hungry component). Ubuntu 22.04, Docker installed by the provisioner. Supabase is a multi-container backend deployed from its official stack.

02

One-click deploy

The provisioner runs Supabase's official installer: it fetches the official supabase/docker files pinned to a fixed commit, generates strong secrets (Postgres password, a 48-char JWT secret, and the signed ANON_KEY / SERVICE_ROLE_KEY), trims the stack to the core services (db + auth + rest + meta + studio + kong), and brings it up with Docker Compose. First boot runs the upstream database migrations — allow a minute or two.

03

Point a domain and open Studio

Supabase serves a dashboard and signs auth tokens, so it needs a domain over HTTPS. Create the A record pointing at the VPS IP, attach the domain to the app from your ServOrbit client area, and ServOrbit installs the nginx vhost and the TLS certificate — no reverse proxy to install, no certificate to renew. Then browse to https://<your-domain> and log in to Studio as supabase, with the password randomly generated on your server: you will find it in the Applications section of your client area, and in /opt/supabase/docker/.env as DASHBOARD_PASSWORD, next to your ANON_KEY and SERVICE_ROLE_KEY. Use the SQL editor to create tables and the API tab to grab your endpoints. Keep in mind that Studio and the public API share the same address behind Kong: that password is the only thing protecting your dashboard.

04

Connect your app

Install @supabase/supabase-js, initialise it with your VPS URL and the ANON_KEY (from the instance .env), and start reading/writing through the REST API. Enable Row Level Security on every table before going live, and keep the SERVICE_ROLE_KEY server-side only — it bypasses RLS.

05

Grow the stack when you need it

This template ships the self-consistent core. When you need Realtime, Storage or Edge Functions, enable the corresponding services from the same official docker-compose already on the VPS (under /opt/supabase/docker) and plan for more RAM.

Frequently asked questions

Yes. Supabase (Apache-2.0, ~106k GitHub stars) gives you the Firebase developer experience — instant APIs, authentication, realtime, storage and a dashboard — but built on standard PostgreSQL instead of a proprietary NoSQL store. Because it is open source, the entire stack self-hosts on a VPS you control, with no cloud account and no per-operation pricing.

Embed the deploy button

Maintaining a project that uses Supabase? This button lets your readers deploy it on a VPS in one click, without reading Docker documentation.

Deploy Supabase on ServOrbit
Markdown
[![Deploy Supabase on ServOrbit](https://servorbit.com/brand/deploy/button.svg)](https://servorbit.com/vps-cloud?template=supabase&utm_source=deploy-badge&utm_medium=referral&utm_campaign=supabase)
HTML
<a href="https://servorbit.com/vps-cloud?template=supabase&utm_source=deploy-badge&utm_medium=referral&utm_campaign=supabase"><img src="https://servorbit.com/brand/deploy/button.svg" alt="Deploy Supabase on ServOrbit" height="40"></a>

The button points to a VPS order with the template preselected. The image is served from servorbit.com — nothing to host on your side.

Kick off a software project quickly.

Activate Supabase on your infrastructure.

Dedicated Cloud VPS — IPv4 included, European datacenter, support included. Your data never leaves your server.

Recommended configuration: 4 GB (8 GB for the full stack) RAM · 2 vCPU

Need help?

Browse our help center and FAQ, or reach our team — callback, WhatsApp or email. Support in French, English and Arabic.