BackendAdvanced

Self-Host Supabase

Open source Firebase alternative with Postgres.

View source on GitHub →

What is Supabase?

Supabase is an open source Firebase alternative providing a Postgres database, authentication, instant APIs, realtime subscriptions, and storage.

1

Try it locally

Run Supabase on your machine to see how it works:

terminal
git clone --depth 1 https://github.com/supabase/supabase
cd supabase/docker
cp .env.example .env
docker compose up

Supabase requires multiple containers. Open http://localhost:3000 for the Studio UI.

Press Ctrl+C in your terminal to stop it.

2

Install the Nexlayer MCP

Install the Nexlayer MCP server for your AI coding assistant:

terminal
npx @nexlayer/mcp-install

This will configure the MCP and prompt you to authenticate with your Nexlayer account.

Don't have an account? You can create a free one during the authentication flow.

3

Deploy to Nexlayer

Supabase is a multi-container application that requires additional setup.

Contact us for help deploying complex stacks like Supabase.

Host Supabase - Open Source Hosting Guide