A production-ready Supabase self-hosting configuration that works with Docker Compose, Docker Swarm, and Portainer.
If this configuration helped you get Supabase running smoothly, please consider giving it a star! It really helps others discover this solution.
- Docker Engine
- Domain name (optional, for production)
- S3-compatible storage credentials (required for file storage)
| Method | Best For | Setup |
|---|---|---|
| Docker Compose | Development, single server | 📖 Wiki Guide |
| Docker Swarm | Production, multi-server | 📖 Wiki Guide |
| Portainer | GUI management | 📖 Wiki Guide |
# Clone and setup
git clone <your-repo-url>
cd supabase-swarm
# Choose your method and follow the wiki guide
# Or run automated setup
./setup.sh --help- Wiki Home - Complete documentation
- Deployment Methods - Compare all options
- Troubleshooting - Common issues and solutions
- Configuration - Environment variables and settings
- Studio: http://localhost:8000
- API: http://localhost:8000/rest/v1/
- Auth: http://localhost:8000/auth/v1/
Default credentials: supabase / this_password_is_insecure_and_should_be_updated
docker-compose.yml- Docker Swarm/Portainer configurationdocker-compose.standalone.yml- Docker Compose configurationsetup.sh- Automated setup scriptenvironment-variables.txt- Configuration template
Found a bug? Have an improvement? Please contribute back to help others!
- 🐛 Found a bug? Open an issue!
- 💡 Have an improvement? Submit a PR!
- 📚 Documentation needs work? We'd love your help!
- ⭐ Star the repo if it helped you!
Apache 2.0 License (same as Supabase)
🎯 Goal: Make Supabase self-hosting as painless as possible for everyone!
