Self Hosted Supabase Configuration
The page details the configurations that are required in your self hosted supabase instance for sfp-server to work effectively
Overview
What You'll Need
Quick Start
Step 1: Install Prerequisites
# Update system
sudo apt update && sudo apt upgrade -y
# Install Docker and Docker Compose
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
# The get-docker.sh script might install docker-ce only and not the compose plugin
# Install Docker Compose plugin
sudo apt update && sudo apt install -y docker-compose-plugin
# Log out and back in, then continue
# Install Caddy (REQUIRED for production - provides automatic HTTPS/SSL)
# Caddy automatically obtains and renews SSL certificates from Let's Encrypt
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update && sudo apt install caddyStep 2: Get Supabase
Step 3: Generate Your Keys
Step 4: Configure Supabase
Step 5: Configure SSL with Caddy (Required for Production)
Step 6: Set Up GitHub Login
Pre-flight Check (AWS EC2)
Step 7: Start Supabase
Step 8: Connect SFP Server
Verify Everything Works
Maintenance
Start/Stop Supabase
Update Supabase
View Logs
Troubleshooting
Security Checklist
Need Help?
Last updated
Was this helpful?