Supabase
Open-source Firebase alternative with PostgreSQL database, authentication, real-time subscriptions, and storage.
Getting started
- Go to https://my.cubepath.com/deploy
- Select a VPS plan
- Under Operating System, choose "Supabase"
- Click Deploy
Once the deployment is complete (~15 minutes), access http://your-server-ip:8000 with username supabase and password supabase.
Deploy via CubePath Cloud API
Via CubeCLI
pipx install git+https://github.com/CubePathInc/cubecli.git
cubecli vps create \
--name supabase-server \
--plan gp.small \
--template "Supabase" \
--location us-mia-1 \
--project <project-id>
Via API
curl -X POST https://api.cubepath.com/v1/vps \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "supabase-server",
"plan": "gp.small",
"template": "supabase",
"location": "us-mia-1"
}'
Technical information
Access credentials:
- URL: http://YOUR-IP:8000
- Username: supabase
- Password: supabase
- Database Password: supabase_password
Installed software:
- Docker + Supabase (latest)
- PostgreSQL 15
- PostgREST
- GoTrue (Auth)
- Kong Gateway
Locations:
- Installation: /opt/supabase/
- Configuration: /opt/supabase/.env
Ports:
- 22 (SSH)
- 8000 (Supabase Studio)
- 5432 (PostgreSQL)
Useful commands
# Check status
cd /opt/supabase
docker compose ps
# View logs
docker compose logs -f
# Restart
docker compose restart
# Stop
docker compose down
# Start
docker compose up -d
# Change dashboard password
cd /opt/supabase
nano .env
# Edit DASHBOARD_PASSWORD=your_new_password
docker compose restart
# Change database password
cd /opt/supabase
nano .env
# Edit POSTGRES_PASSWORD=your_new_password
docker compose down
docker compose up -d