Self-Hosted Supabase
Table of Contents
Architecture Overview
Service
Description
Prerequisites
1. Create Directory Structure
2. Configure Environment Variables
3. Create Supabase Database Files
3.1 Create volumes/db/roles.sql
volumes/db/roles.sql3.2 Create volumes/db/jwt.sql
volumes/db/jwt.sql3.3 Create volumes/db/_supabase.sql
volumes/db/_supabase.sql3.4 Create placeholder SQL files
4. Create Kong API Gateway Configuration
5. Create Docker Compose File
6. Start the Stack
7. Verify Deployment
7.1 Check Service Status
7.2 Test Health Endpoint
7.3 View Logs
8. Pushing vCONs to vCON MCP
8.1 API Endpoint
8.2 Example: Push a vCON
8.3 Webhook Integration
Conserver Integration
9. Configuration Reference
9.1 Environment Variables
Variable
Description
Example
9.2 Embedding Provider Configuration
Azure OpenAI
OpenAI
Hugging Face
9.3 MCP Tool Categories
Category
Description
Production Use
9.4 Ofelia Job Scheduler
10. Operations
10.1 Common Commands
10.2 Database Backup
10.3 Updating Images
10.4 Viewing Database
11. Troubleshooting
11.1 Services Won't Start
11.2 Database Connection Issues
11.3 Kong Gateway Issues
11.4 vCON MCP Health Check Fails
11.5 Embedding Job Not Running
Next Steps
Last updated