# Deploy self-hosted Supabase with Docker Compose

Source: https://docs.quake.ai/resources/deployments/deploy-supabase-selfhost
Markdown: https://docs.quake.ai/resources/deployments/deploy-supabase-selfhost.md

---

# Deploy self-hosted Supabase with Docker Compose

Stand up the full self-hosted [Supabase](https://supabase.com/docs/guides/self-hosting) backend on Quake AI using the [validated OpenTofu template](/docs/platform/validation#how-infrastructure-templates-are-checked) `supabase-selfhost`. The canonical walkthrough is [Deploy Supabase with the supabase-selfhost template](/resources/deployments/deploy-supabase-selfhost-template): apply the template, read generated credentials, serve the API over HTTPS, reach Studio, and connect a client app.

You run the stack yourself on infrastructure you own; this is a self-hosted backend you operate, not the managed Supabase cloud.

## Next steps

- [Deploy Supabase with the supabase-selfhost template](/resources/deployments/deploy-supabase-selfhost-template)
- [Supabase self-host template reference](/resources/iac-templates/supabase-selfhost)
- [Deploy a Next.js app with the nextjs-app template](/resources/deployments/deploy-nextjs-app-template)
