Monthly billing, no commitment View plans

Pricing

Products


Self-host Supabase on a VPS with Docker Compose

Supabase gives you Postgres, authentication, storage and an instant API. You deploy it yourself from the official repository on a VPS where Docker and Caddy are already set up.

  • Recommended base: Docker + Portainer
  • Step-by-step installation guide
  • Root access and anti-DDoS included

From €3.99/monthincl. VAT, 1-year term

SupabaseInstallation guide

Supabase is not installed automatically: only the Docker + Portainer base is. You manage the .env file, upgrades and database backups yourself.

Choose the resources of your VPS

Supabase runs on all our Linux VPS plans: you only pay for the VPS.

  • Monthly plans: cancel anytime
  • Support available 7 days a week

VPS Mini

-20 %

For a website, an API or a first project.

€4.99

€3.99/month

Select

€47.90 incl. VAT paid for 12 months. Or €4.99/month with no commitment.

  • 2 vCPU
  • 8 GB RAM
  • 40 GB high-performance storage
  • Delivered with Docker + Portainer
  • Network up to 1 Gbit/s
  • 1 dedicated public IPv4

VPS Essentiel

-20 %

For multiple services and Docker applications.

€9.99

€7.99/month

Select

€95.90 incl. VAT paid for 12 months. Or €9.99/month with no commitment.

  • 4 vCPU
  • 16 GB RAM
  • 80 GB high-performance storage
  • Delivered with Docker + Portainer
  • Network up to 1 Gbit/s
  • 1 dedicated public IPv4

VPS Performance

Most popular • -20 %

For demanding projects and game servers.

€21.99

€17.59/month

Select

€211.10 incl. VAT paid for 12 months. Or €21.99/month with no commitment.

  • 8 vCPU
  • 48 GB RAM
  • 150 GB high-performance storage
  • Delivered with Docker + Portainer
  • Network up to 1 Gbit/s
  • 1 dedicated public IPv4

VPS Pro

-20 %

For heavy workloads and large databases.

€34.99

€27.99/month

Select

€335.90 incl. VAT paid for 12 months. Or €34.99/month with no commitment.

  • 12 vCPU
  • 64 GB RAM
  • 250 GB high-performance storage
  • Delivered with Docker + Portainer
  • Network up to 1 Gbit/s
  • 1 dedicated public IPv4

Compare all VPS plans

ACLClouds
ACLClouds

Self-host Supabase on a VPS with Docker Compose

Deploy Supabase on a Docker + Portainer VPS with the official docker compose: Postgres, Auth, Storage and Studio, served over HTTPS by Caddy.

Supabase gives you Postgres, authentication, storage and an instant API. You deploy it yourself from the official repository on a VPS where Docker and Caddy are already set up.

Step-by-step procedure

  1. Order the VPS and connect

    Order a VPS Mini with the Docker + Portainer image, add your SSH key, then log in as root using the IPv4 address you receive.

  2. Get the official repository

    Install git, clone the self-hosted branch named in the documentation and copy the docker folder into a new project folder, along with the example .env file.

  3. Generate the secrets

    Run the two bundled scripts to generate the keys. In .env, set DASHBOARD_PASSWORD, plus SUPABASE_PUBLIC_URL, API_EXTERNAL_URL and SITE_URL with your https domain.

  4. Start the stack

    Pull the images, then start the stack with the run.sh script. Check with docker compose ps that every container is healthy.

  5. Publish Studio over HTTPS

    Add this block to /etc/caddy/Caddyfile to send your domain to the Kong gateway (port 8000), then run systemctl reload caddy. Caddy gets the certificate.

  6. Set up email

    Fill in the SMTP_ variables in the .env file with your external SMTP service, then restart the stack so confirmation emails go out.

Choose the resources of your VPS

Supabase runs on all our Linux VPS plans: you only pay for the VPS.

Recommended base: Docker + Portainer

  • VPS Mini: €3.99 per month incl. VAT with a 1-year term (or €4.99 per month with no commitment) · 2 vCPU · 8 GB RAM · 40 GB storage
  • VPS Essentiel: €7.99 per month incl. VAT with a 1-year term (or €9.99 per month with no commitment) · 4 vCPU · 16 GB RAM · 80 GB storage
  • VPS Performance: €17.59 per month incl. VAT with a 1-year term (or €21.99 per month with no commitment) · 8 vCPU · 48 GB RAM · 150 GB storage
  • VPS Pro: €27.99 per month incl. VAT with a 1-year term (or €34.99 per month with no commitment) · 12 vCPU · 64 GB RAM · 250 GB storage

Why run Supabase on a VPS?

Supabase is an open source Firebase alternative built around PostgreSQL. The project combines several services: Postgres, GoTrue for authentication, PostgREST for the REST API, Realtime, Storage for files, Kong as the gateway and Studio as the admin interface. Everything starts with the docker compose file shipped in the official repository.

Self-hosting it on a VPS gives you a full Postgres database with no project limit set by an online service, plus direct access to the database and the logs. You decide when to upgrade, keep the data on your server and can plug in your own backups.

Docker and Caddy already installed

The Docker + Portainer image ships Docker Engine, docker compose and Caddy. You clone the Supabase repository and publish Studio over HTTPS with one Caddy block.

A dedicated IPv4 for your API

Your domain points to a public IPv4 that is yours alone. Client apps call the Supabase API directly, behind the network's DDoS protection.

Root access to Postgres

Root SSH access lets you read container logs, open psql inside Postgres and tune the .env file without going through a limited interface.

Backups before upgrades

Before switching versions, run a VPS backup from the panel. It covers the project folder and the Postgres volumes.

Before you start

Good to know: Supabase is not installed automatically: only the Docker + Portainer base is. You manage the .env file, upgrades and database backups yourself.

  • VPS with the Docker + Portainer image (Debian 12)
  • At least 4 GB RAM and 2 cores, 8 GB recommended (official docs)
  • At least 40 GB of storage, 80 GB recommended (official docs)
  • A domain or subdomain pointing to the VPS IPv4
  • An external SMTP service (port 587) for auth emails

Install Supabase on your VPS

The main steps, to follow over SSH. The official documentation is the reference for the details.

  1. Order the VPS and connect: Order a VPS Mini with the Docker + Portainer image, add your SSH key, then log in as root using the IPv4 address you receive.
  2. Get the official repository: Install git, clone the self-hosted branch named in the documentation and copy the docker folder into a new project folder, along with the example .env file.
  3. Generate the secrets: Run the two bundled scripts to generate the keys. In .env, set DASHBOARD_PASSWORD, plus SUPABASE_PUBLIC_URL, API_EXTERNAL_URL and SITE_URL with your https domain.
  4. Start the stack: Pull the images, then start the stack with the run.sh script. Check with docker compose ps that every container is healthy.
  5. Publish Studio over HTTPS: Add this block to /etc/caddy/Caddyfile to send your domain to the Kong gateway (port 8000), then run systemctl reload caddy. Caddy gets the certificate.
  6. Set up email: Fill in the SMTP_ variables in the .env file with your external SMTP service, then restart the stack so confirmation emails go out.

For which projects?

  • Web app backend
  • Instant Postgres API
  • User authentication
  • File storage

The essentials, included in every plan

No hidden extras for the essentials: protection, an IP address, a recovery console and support from real people are included from the first plan.

  • Anti-DDoS: Network protection is included on every service, with no paid option.
  • Dedicated IPv4: Each VPS has its own public address and full root access.
  • Recovery console: Take back control of your VPS with the noVNC console, even without SSH.
  • Support 7 days a week: By ticket and on Discord, from a team that knows your services.
  • No commitment: Monthly, cancellable at any time, or yearly to pay less.

Run Supabase on your own VPS.

Choose your resources, install, stay in control. No commitment.

Frequently asked questions

How do I install Supabase on a VPS?

On a Docker + Portainer VPS, clone the official repository, copy the docker folder, generate the secrets with the bundled scripts and complete the .env file. Start the stack with docker compose pull and then sh run.sh start. Finally, add a block to the Caddyfile to publish Studio and the API over HTTPS on your domain.

How much RAM does Supabase need?

The official documentation lists 4 GB of RAM and 2 cores as the minimum, with 8 GB and 4 cores recommended. VPS Mini (2 vCPU, 8 GB, 40 GB) is enough to get started. For a production project with a lot of data, VPS Essential (4 vCPU, 16 GB, 80 GB) matches the recommended setup.

Is self-hosted Supabase free?

Yes. The Supabase code is open source and the self-hosted edition needs no licence or paid account. You only pay for the VPS. Some features of the Supabase Cloud service, such as managing several projects inside an organisation, are not available when self-hosting.

Why does Studio go through port 8000?

In the official docker compose file, Studio and the APIs sit behind the Kong gateway, which listens on port 8000. Caddy already holds ports 80 and 443 on this image: you have it forward your domain to 127.0.0.1:8000, and it handles the HTTPS certificate.

How do I back up the Supabase Postgres database?

A VPS backup from the panel copies the whole server, volumes included. For a logical copy of the database, run pg_dump inside the Postgres container and store the file elsewhere. Do both before every version upgrade.