This plugin enables you to run Supabase, an open-source Firebase alternative, on your FxSupport system using Docker containers.
- PostgreSQL Database: Full-featured PostgreSQL database
- Authentication: Built-in user authentication and authorization
- Instant APIs: Auto-generated REST and GraphQL APIs
- Realtime Subscriptions: Listen to database changes in real-time
- Storage: Store and serve files
- Edge Functions: Deploy serverless functions
- Studio Dashboard: Web-based database management interface
- Linux OS (x86_64 or ARM64)
- Minimum 2GB RAM (4GB recommended)
- 10GB available disk space
- Docker 20.10.0 or higher
./install.shThis will:
- Check system requirements
- Install Docker if not present
- Download Supabase Docker images
- Configure environment variables
- Set up firewall rules
./start.sh./stop.sh./restart.sh./status.shThis displays:
- Service status
- Connection URLs
- API keys
- Database credentials
./uninstall.shWarning: This removes all data and configurations!
After starting, Supabase will be available at:
- API Gateway: http://YOUR_PUBLIC_IP:8000
- PostgreSQL: YOUR_PUBLIC_IP:5432
- Change default passwords: Update all default credentials after installation
- Configure SSL: For production use, set up SSL certificates
- Firewall rules: Ensure only necessary ports are exposed
- API Keys: Keep your service keys secure and never expose them publicly
The plugin automatically:
- Detects your public IP address
- Configures Supabase to be accessible externally
- Opens required firewall ports (if UFW is installed)
docker compose logs -f./stop.sh
cd /opt/supabase
rm .env
./install.shdocker ps
docker compose psFor issues related to:
- This plugin: Create an issue in the FxSupport repository
- Supabase: Visit https://supabase.com/docs
MIT License
supabase-plugin/
├── install.sh
├── start.sh
├── stop.sh
├── restart.sh
├── uninstall.sh
├── status.sh
├── info.json
└── README.md
- Create a directory called
supabase-plugin - Save all the above files in that directory
- Make scripts executable:
chmod +x *.sh - Run installation:
./install.sh