Open the server Apps tab
Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.


Supabase with PostgreSQL, REST API, and Studio UI - simplified deployment
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the Supabase Lite template in Server Compass to deploy a full self-hosted Supabase Lite stack with Kong, Auth, Realtime, Studio, and PostgreSQL, then verify the Supabase Lite Studio dashboard in a browser.
Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find Supabase Lite in the Server Compass template catalog. The full Supabase Lite template includes Kong, Auth, REST, Realtime, Studio, Meta, and PostgreSQL.

Choose the full Supabase Lite template. Server Compass fills the multi-service Docker Compose stack, persistent database volume, generated secrets, and default ports.

Confirm the app name, seven Supabase Lite services, compose snapshot, preserved advanced settings, and host ports. In the pilot run, the app was named supabase-demo and used ports 8000, 8443, and 5432.

Review the masked generated passwords, JWT values, API keys, dashboard username, optional SMTP fields, and port check result. When Server Compass confirms the ports are available, click Deploy Now.

Keep the deployment modal or activity panel open while Server Compass uploads the Compose file, creates the Supabase Lite initialization files, pulls the images, starts the services, and verifies the stack.

After deployment finishes, return to the Apps tab and confirm Supabase Lite is marked Running. The app card should show seven services and the application URL on port 8000.

Open the application URL and sign in with the generated Supabase Lite Studio credentials from Server Compass. The Supabase Lite Studio project home confirms the protected dashboard is reachable.

The root URL returned a Kong Basic Auth challenge before login. After authenticating with the generated dashboard credentials, the browser loaded Supabase Lite Studio with title Default Project | Default Organization | Supabase Lite.
It deploys Kong, GoTrue Auth, PostgREST, Realtime, Postgres Meta, Supabase Lite Studio, and PostgreSQL with generated secrets and initialization files.
The pilot used port 8000 for the Kong gateway, port 8443 for the Kong HTTPS mapping, and port 5432 for PostgreSQL.
The full template protects Studio with Kong Basic Auth. Use the generated dashboard username and password from Server Compass to open the dashboard.
A demo can run without SMTP, but production auth flows should configure SMTP so invites, confirmations, and password resets can send email.
No. The deployment guide should live on the Supabase Lite template detail page and be linked from the reusable template deployment docs page.
Take the DIY route and deploy Supabase (Lite) on your own server using Docker.
Initiate a secure shell connection to your server using the command below.
# Connect to your VPS
ssh root@your-server-ip
# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ipFirst time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh
Organize your deployment by creating a dedicated project folder.
# Create and navigate to project directory
mkdir -p ~/apps/supabase-lite
cd ~/apps/supabase-liteCreate a new docker-compose.yml file and paste this configuration:
services:
db:
image: postgres:16-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=<your-postgres-password>
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
volumes:
- db_data:/var/lib/postgresql/data
- ./init-supabase-roles.sql:/docker-entrypoint-initdb.d/01-init-roles.sql
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
interval: 10s
timeout: 5s
retries: 5
start_period: 60s
rest:
image: postgrest/postgrest:v12.2.0
ports:
- "3001:3000"
environment:
- PGRST_DB_URI=postgres://authenticator:<your-postgres-password>@db:5432/postgres
- PGRST_DB_SCHEMAS=public,storage,graphql_public
- PGRST_DB_ANON_ROLE=anon
- PGRST_JWT_SECRET=<your-jwt-secret>
- PGRST_DB_USE_LEGACY_GUCS=false
depends_on:
db:
condition: service_healthy
restart: unless-stopped
meta:
image: supabase/postgres-meta:v0.83.2
ports:
- "8080:8080"
environment:
- PG_META_PORT=8080
- PG_META_DB_HOST=db
- PG_META_DB_PORT=5432
- PG_META_DB_NAME=postgres
- PG_META_DB_USER=postgres
- PG_META_DB_PASSWORD=<your-postgres-password>
depends_on:
db:
condition: service_healthy
restart: unless-stopped
studio:
image: supabase/studio:20240729-ce42139
ports:
- "3000:3000"
environment:
- STUDIO_PG_META_URL=http://meta:8080
- POSTGRES_PASSWORD=<your-postgres-password>
- DEFAULT_ORGANIZATION_NAME=Default Organization
- DEFAULT_PROJECT_NAME=Default Project
- SUPABASE_URL=http://rest:3000
- SUPABASE_PUBLIC_URL=http://localhost:3001
- NEXT_PUBLIC_ENABLE_LOGS=true
depends_on:
- meta
- rest
restart: unless-stopped
volumes:
db_data:
DB_PORTPostgreSQL port(default: 5432)REST_PORTPostgREST API port(default: 3001)META_PORTPostgres Meta port(default: 8080)STUDIO_PORTSupabase Studio port(default: 3000)POSTGRES_PASSWORDDatabase passwordJWT_SECRETJWT secret (min 32 chars)Start the services and tail the logs to verify startup.
# Spin up containers
docker compose up -d
# Verify deployment
docker compose ps
# Check logs for errors
docker compose logs -fOpen the required port in your firewall to allow access.
# Allow the application port through firewall
sudo ufw allow 80/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:80Forget SSH and YAML files. Deploy Supabase (Lite) visually with Server Compass in just a few clicks.
After deploying Supabase (Lite) with Server Compass, complete these steps to finish setup
Access Supabase Studio
Create database tables using the SQL editor
Set up Row Level Security (RLS) policies
Use the REST API
For full features (Auth, Realtime, Storage), follow official docs
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting Supabase (Lite)
Simply download Server Compass, connect to your VPS, and select Supabase (Lite) from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
Supabase (Lite) requires a minimum of 2048MB RAM. We recommend a VPS with at least 4096MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Supabase (Lite) backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Supabase (Lite) image will be pulled and deployed with zero downtime.
Supabase (Lite) is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Download Server Compass and deploy Supabase (Lite) to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass