Video coming soon…

👨‍💻 Setup Supabase — Self-Hosted Firebase Alternative

Deploy Supabase on Ubuntu — the open-source Firebase alternative giving you a Postgres database, auto-generated APIs, authentication, storage, and realtime on your own server.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — clones the official Supabase stack, generates all secrets, and serves Studio through Kong on port 8200.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/supabase/supabase-ubuntu.sh
chmod +x supabase-ubuntu.sh
sudo bash supabase-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/supabase/supabase-ubuntu.sh

2 Make it Executable

chmod +x supabase-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, clones the official Supabase repository, generates the JWT secret, anon key, service role key, and database password, then starts the full multi-container stack. First start takes several minutes.

sudo bash supabase-ubuntu.sh

4 Open Supabase Studio

Open your browser and navigate to Studio through the Kong gateway, then log in with the dashboard username supabase and the generated password:

http://<your-server-ip>:8200

Ports Used

PortPurpose
8200Kong gateway (HTTP) — Studio, REST API, auth, storage, realtime
8447Kong gateway (HTTPS)
internalPostgreSQL 5432 + a dozen Supabase services (keep internal)

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions