Back to Supabase

Self-Hosting

apps/docs/content/guides/self-hosting.mdx

1.26.033.1 KB
Original Source

Get started

The fastest and recommended way to self-host Supabase is using Docker.

<div className="grid md:grid-cols-12 gap-4 not-prose"> <div className="md:col-span-6 xl:col-span-4 relative" key="/guides/self-hosting/docker"> <Link href="/guides/self-hosting/docker" passHref> <GlassPanel icon={'/docs/img/icons/docker'} hasLightIcon={true} title={ <span className="flex items-center gap-2"> Docker <Badge variant="success">Official</Badge> </span> } showIconBg={true} > Deploy Supabase within your own infrastructure using Docker Compose. </GlassPanel> </Link> </div> </div>

Community-driven projects

There are several other options to deploy Supabase. If you're interested in helping these projects, visit our Community page.

<div className="grid md:grid-cols-12 gap-4 not-prose"> {selfHostingCommunity.map((x) => ( <div className="md:col-span-6 xl:col-span-3" key={x.href}> <Link href={x.href} passHref> <GlassPanel title={ <span className="flex items-center gap-2"> {x.name} </span> } > {x.description} </GlassPanel> </Link> </div>

))}

</div>

About self-hosting

Self-hosting is a good fit if you need full control over your data, have compliance requirements that prevent using managed services, or want to run Supabase in an isolated environment.

How self-hosted Supabase differs

Self-hosted Supabase is different from:

  • Supabase CLI (local development), which is intended for development and testing only.
  • Managed Supabase platform, which is fully hosted and operated by Supabase.

Telemetry

Self-hosted Supabase does not phone home or collect any telemetry.

Your responsibilities when self-hosting

When you self-host, you are responsible for:

  • Server provisioning and maintenance
  • Security hardening and keeping OS and services updated
  • Maintaining the Postgres database
  • Backups and disaster recovery
  • Monitoring and uptime

Support and community

Self-hosted Supabase is community-supported.

For resolving common issues:

Get help and connect with other users:

  • Discord - Real-time chat and community support
  • Reddit - Official Supabase subreddit

Share your self-hosting experience:

Enterprise self-hosting

If you're an enterprise using self-hosted Supabase, we'd love to hear from you. Reach out to our Growth Team to discuss your use case, share feedback, or explore design partnership opportunities.