---
title: "Deploy OneClickSupabase"
description: "A self-hosted Supabase stack built specifically for Railway."
category: "Starters"
url: https://railway.com/deploy/oneclicksupabase
---

# Deploy OneClickSupabase

A self-hosted Supabase stack built specifically for Railway.

**[Deploy OneClickSupabase on Railway](https://railway.com/template/oneclicksupabase)**

- **Creator:** Pagetree's Projects
- **Category:** Starters

## Template content

### DB

- **Source:** pagetree/OneClickSupabase

### Auth

- **Source:** pagetree/OneClickSupabase

### Studio

- **Source:** pagetree/OneClickSupabase

### Kong

- **Source:** pagetree/OneClickSupabase
- **Public domain:** Yes

### Storage

- **Source:** pagetree/OneClickSupabase

### Init-JWT

- **Source:** pagetree/OneClickSupabase

### Rest

- **Source:** pagetree/OneClickSupabase

### Realtime

- **Source:** pagetree/OneClickSupabase

## Documentation

# Deploy and Host OneClickSupabase on Railway

OneClickSupabase is a production-ready, self-hosted Supabase stack built specifically for Railway. It deploys the complete Supabase platform — Postgres, Auth, REST API, Realtime, Storage, and Studio — with 100% reliability. JWT keys are auto-generated, all secrets are shared automatically, and every image is pinned for stability.

## About Hosting OneClickSupabase on Railway

OneClickSupabase runs 8 services inside a single Railway project: Postgres 15, GoTrue (Auth), PostgREST (REST API), Realtime (WebSockets), Storage, Studio (dashboard), Kong (API gateway), and an init-jwt service that auto-generates your JWT keys on first deploy. All services communicate over Railway's private network. Only Kong gets a public domain. No manual JWT setup, no floating image tags, no secret mismatches — just a working Supabase instance in one click.

## Common Use Cases

- Full Firebase/Supabase alternative with complete data ownership
- Backend for SaaS products needing auth, database, storage and realtime
- Self-hosted backend for mobile and web apps with row-level security

## Dependencies for OneClickSupabase on Railway

- A Railway account with a paid plan (8 services require it)
- A public domain pointed to your Kong service after deploy

### Deployment Dependencies

- [Supabase Docs](https://supabase.com/docs/guides/self-hosting)
- [Railway Private Networking](https://docs.railway.com/reference/private-networking)
- [Supabase JS Client](https://supabase.com/docs/reference/javascript)

## Why Deploy OneClickSupabase on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying OneClickSupabase on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/oneclicksupabase
