Files
supabase/apps/docs/content/guides/self-hosting.mdx
CharisandChris Chinchilla 47705a8968 chore: replace all supabase urls with relative urls (#38537)
* fix: rewrite relative URLs when syncing to GitHub discussion

Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com

* fix: replace all supabase urls with relative urls

* chore: add linting for relative urls

* chore: bump linter version

* Prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-09-09 12:54:33 +00:00

100 lines
3.2 KiB
Plaintext

---
title: 'Self-Hosting'
description: 'Host Supabase on your own infrastructure.'
subtitle: 'Host Supabase on your own infrastructure.'
hideToc: true
---
There are several ways to host Supabase on your own computer, server, or cloud.
## Officially supported
<div className="grid md:grid-cols-12 gap-4 not-prose">
<div className="md:col-span-6 xl:col-span-3 relative" key="/guides/self-hosting/docker">
<span className=" absolute left-28 top-[34px] uppercase text-xs whitespace-nowrap text-foreground-lighter font-mono z-10 border rounded-full px-2 py-0.5">
Most common
</span>
<Link href="/guides/self-hosting/docker" passHref>
<GlassPanel title="Docker">
Deploy Supabase within your own infrastructure using Docker Compose.
</GlassPanel>
</Link>
</div>
<div className="md:col-span-6 xl:col-span-3" key="/pricing">
<Link href="https://supabase.com/pricing" passHref>
<GlassPanel title="BYO Cloud">Contact our Enterprise sales team if you need Supabase managed in your own cloud.</GlassPanel>
</Link>
</div>
</div>
Supabase is also a hosted platform. If you want to get started for free, visit [supabase.com/dashboard](/dashboard).
## Community supported
There are several community-driven projects to help you deploy Supabase. We encourage you to try them out and contribute back to the community.
<div className="grid md:grid-cols-12 gap-4 not-prose">
{community.map((x) => (
<div className="md:col-span-6 xl:col-span-3" key={x.href}>
<Link href={x.href} passHref>
<GlassPanel title={x.name}>{x.description}</GlassPanel>
</Link>
</div>
))}
</div>
export const community = [
{
name: 'Kubernetes',
description: 'Helm charts to deploy a Supabase on Kubernetes.',
href: 'https://github.com/supabase-community/supabase-kubernetes',
},
{
name: 'Terraform',
description: 'A community-driven Terraform Provider for Supabase.',
href: 'https://github.com/supabase-community/supabase-terraform',
},
{
name: 'Traefik',
description: 'A self-hosted Supabase setup with Traefik as a reverse proxy.',
href: 'https://github.com/supabase-community/supabase-traefik',
},
{
name: 'AWS',
description: 'A CloudFormation template for Supabase.',
href: 'https://github.com/supabase-community/supabase-on-aws',
},
]
## Third-party guides
The following third-party providers have shown consistent support for the self-hosted version of Supabase:.
<div className="grid md:grid-cols-12 gap-4 not-prose">
{[
{
name: 'Digital Ocean',
description: 'Deploys using Terraform.',
href: 'https://docs.digitalocean.com/developer-center/hosting-supabase-on-digitalocean/',
},
{
name: 'StackGres',
description: 'Deploys using Kubernetes.',
href: 'https://stackgres.io/blog/running-supabase-on-top-of-stackgres/',
},
{
name: 'Pigsty',
description: 'Deploys using Ansible.',
href: 'https://pigsty.io/blog/db/supabase/',
},
].map((x) => (
<div className="md:col-span-6" key={x.href}>
<Link href={x.href} passHref>
<GlassPanel title={x.name}>{x.description}</GlassPanel>
</Link>
</div>
))}
</div>