selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
supabase-automated-self-host logo

Self-host supabase-automated-self-host

Automated Supabase self-hosting with 2FA and reverse proxy

BetaOpen SourceApache-2.0
Updated4 months ago
LanguageShell
Setup difficultyModerate
Stars
506
RAM
4 GB
Storage
25 GB
Ports
80 (HTTP reverse proxy (Caddy or Nginx)), 443 (HTTPS reverse proxy (Caddy or Nginx)), 5432 (PostgreSQL (via Supavisor pooler)), 6543 (Transaction mode pooling (Supavisor))
Requires
PostgreSQL
Docker
supabase/studio
Install with Docker Compose

What is supabase-automated-self-host?

Supabase Automated Self-Host is a wrapper script that simplifies running Supabase on your own Linux server. It generates all required secrets, sets up either Caddy or Nginx as a reverse proxy with automatic Let's Encrypt certificates, and optionally adds Authelia for two-factor authentication. The script interactively prompts for your domain, admin credentials, and email preferences, then produces a complete Docker Compose environment. You then start the stack with docker compose up -d. Minimum requirements are a Linux machine with Docker, 4 GB of memory, and 25 GB of disk space. This project is not officially affiliated with Supabase.

Should you self-host supabase-automated-self-host?

supabase-automated-self-host scores 48/100 on selfhost.directory (how scoring works) and ranks #13 of 15 in Backend as a Service. It has 506 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Shell.

Its closest alternative on selfhost.directory is Appwrite (84/100, 57 787 stars). It scores higher overall, so compare the two before you pick. See supabase-automated-self-host vs Appwrite side by side.

Features

  • Analytics with LogflareRequires configuration
  • Automated Supabase deployment
  • Connection Pooling
  • Edge Functions
  • Email authentication
  • Local development support
  • OAuth/Social loginRequires uncommenting config in docker-compose.yml
  • Phone/SMS authenticationRequires uncommenting config in docker-compose.yml
  • Realtime Subscriptions
  • Reverse proxy with automatic SSL
  • S3-compatible storage backendRequires docker-compose.s3.yml override
  • SAML SSORequires uncommenting config in docker-compose.yml
  • Storage with image transformations
  • Two-factor authentication

supabase-automated-self-host README

How to install supabase-automated-self-host

Install supabase-automated-self-host with Docker Compose

  1. Download setup.sh script curl -o setup.sh https://raw.githubusercontent.com/singh-inder/supabase-automated-self-host/refs/heads/main/setup.sh

  2. Make script executable chmod +x setup.sh

  3. Execute script sudo ./setup.sh --with-authelia --proxy caddy

  4. After script completes, cd into supabase-automated-self-host/docker directory and run docker compose up -d

Requires Linux with Docker installed. Tested on Linux/WSL only.

More in Backend as a Service

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…