Managing Projects
Start, stop, and manage Supabase projects.
Learn how to manage the lifecycle of your Supabase projects - starting, stopping, monitoring, and deleting.
Project States
| State | Description |
|---|---|
| Running | All containers healthy and operational |
| Stopped | Containers stopped, data preserved |
| Starting | Containers being started |
| Stopping | Containers being stopped |
| Error | One or more containers failed |
Start a Project
Via Web UI
- Navigate to Projects
- Find the stopped project
- Click the Start button
- Monitor progress in real-time
Via API
curl -X POST https://supascale.example.com/api/v1/projects/my-project/start \ -H "X-API-Key: your-api-key"
Returns Server-Sent Events with startup progress.
Stop a Project
Via Web UI
- Navigate to Projects
- Find the running project
- Click the Stop button
- Wait for confirmation
Via API
curl -X POST https://supascale.example.com/api/v1/projects/my-project/stop \ -H "X-API-Key: your-api-key"
Graceful shutdown preserves all data.
Restart a Project
Restart applies configuration changes and refreshes containers:
Via Web UI
- Navigate to Projects
- Click project menu (...)
- Select Restart
Via API
# Stop then start curl -X POST https://supascale.example.com/api/v1/projects/my-project/stop \ -H "X-API-Key: your-api-key" curl -X POST https://supascale.example.com/api/v1/projects/my-project/start \ -H "X-API-Key: your-api-key"
Check Project Status
Via Web UI
Project cards show current status with color indicators:
- 🟢 Green: Running
- 🔴 Red: Stopped or Error
- 🟡 Yellow: Starting/Stopping
Via API
curl https://supascale.example.com/api/v1/projects/my-project/status \ -H "X-API-Key: your-api-key"
Response:
{
"status": "running",
"lastChecked": "2026-01-19T12:00:00Z",
"containers": {
"total": 8,
"running": 8,
"stopped": 0
}
}
View Containers
See individual container status:
Via Web UI
- Click on a project
- Go to Containers tab
- View status, uptime, and resource usage
Via API
# Without stats curl https://supascale.example.com/api/v1/projects/my-project/containers \ -H "X-API-Key: your-api-key" # With CPU/memory stats curl "https://supascale.example.com/api/v1/projects/my-project/containers?stats=true" \ -H "X-API-Key: your-api-key"
Response:
{
"containers": [
{
"name": "my-project-db",
"service": "db",
"status": "running",
"state": "Up 2 hours",
"stats": {
"cpu": "2.5%",
"memory": "256MB / 1GB"
}
}
]
}
View Logs
Access container logs for debugging:
Via Web UI
- Click on a project
- Go to Logs tab
- Filter by service or search
Via API
# All logs curl "https://supascale.example.com/api/v1/projects/my-project/logs?tail=100" \ -H "X-API-Key: your-api-key" # Specific service curl "https://supascale.example.com/api/v1/projects/my-project/logs?service=db&tail=50" \ -H "X-API-Key: your-api-key"
Response:
{
"logs": [
{
"timestamp": "2026-01-19T12:00:00Z",
"service": "db",
"level": "info",
"message": "database system is ready to accept connections"
}
]
}
Delete a Project
Deleting a project removes all containers. Optionally removes all data files.
Via Web UI
- Navigate to Projects
- Click project menu (...)
- Select Delete
- Choose whether to remove files
- Confirm deletion
Via API
# Keep files curl -X DELETE https://supascale.example.com/api/v1/projects/my-project \ -H "X-API-Key: your-api-key" # Remove files curl -X DELETE "https://supascale.example.com/api/v1/projects/my-project?removeFiles=true" \ -H "X-API-Key: your-api-key"
Bulk Operations
Manage multiple projects at once:
Stop All Projects
# Get all project IDs
projects=$(curl -s https://supascale.example.com/api/v1/projects \
-H "X-API-Key: your-api-key" | jq -r '.[].id')
# Stop each
for project in $projects; do
curl -X POST "https://supascale.example.com/api/v1/projects/$project/stop" \
-H "X-API-Key: your-api-key"
done
Resource Management
View Resource Usage
Monitor project resource consumption:
- Go to Resources
- View per-project breakdown
- Identify resource-heavy projects
Optimize Resources
- Stop unused projects - Don't run what you don't need
- Disable unused services - Reduce container count
- Monitor memory - Watch for memory leaks
- Clean old images -
docker image prune
Troubleshooting
Project Won't Start
- Check Docker daemon:
systemctl status docker - Verify resources:
free -m,df -h - Check port conflicts:
netstat -tlnp | grep <port> - Review logs:
pm2 logs supascale-web
Project Shows Error State
- Check container logs for errors
- Verify all required images exist
- Check disk space for volumes
- Try stopping and starting again
Containers Keep Restarting
- Check container health logs
- Verify environment variables
- Check memory limits
- Review application logs