A one-script solution to self-host Supabase with Nginx/Caddy reverse proxy and optional Authelia 2FA authentication.
Supabase Automated Self-Host is a deployment automation tool that sets up a self-hosted Supabase instance with a reverse proxy and optional two-factor authentication. It solves the complexity of manually configuring Supabase, Nginx/Caddy, and Authelia by providing a single bash script that handles the entire setup process. The project ensures secure access with automatic SSL certificate management and flexible authentication options.
Developers and teams who want to self-host Supabase for development, testing, or production use, especially those needing enhanced security with 2FA and automated deployment workflows. It's ideal for users comfortable with Linux, Docker, and command-line tools.
Developers choose this project because it drastically reduces the time and effort required to deploy a secure, self-hosted Supabase instance. Unlike manual setups or broader PaaS solutions, it offers a focused, script-driven approach with built-in support for reverse proxies and optional 2FA, making it both fast and secure.
Self-host Supabase with Nginx/Caddy and Authelia with just ONE bash script.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Deploys the entire Supabase stack with a single bash script, eliminating complex manual configuration steps as emphasized in the README's 'All set up with just ONE bash script!' claim.
Supports both Nginx and Caddy, allowing users to choose based on familiarity or infrastructure needs, with options specified via command-line flags during setup.
Integrates Let's Encrypt for automatic SSL certificate issuance and renewal, ensuring secure HTTPS connections without manual intervention, as highlighted in the features.
Optional integration with Authelia adds two-factor authentication to the Supabase dashboard, providing an extra security layer, with setup guided by the --with-authelia flag.
Can be configured for local testing or internet-exposed deployments with a custom domain, catering to both development and production use cases as described in the prerequisites.
The script is only tested on Linux/WSL, excluding native Windows or macOS users without additional setup like virtual machines, as stated in the prerequisites.
Enabling email verification requires users to set up their own SMTP server externally, a step not automated by the script, adding complexity for production deployments as noted in the setup prompts.
The entire deployment relies on the bash script's correctness; any bugs or edge cases could lead to setup failures, with limited debugging support beyond community channels like Discord or issues.