S
Supabase3y ago
jsp

Self Hosting

Hey! I want to self host Supabase, but am unsure where to find instructions on how to do so. Can anyone help?
6 Replies
Corfitz
Corfitz3y ago
Here you also have an overview of the process of hosting yourself: https://supabase.com/docs/guides/hosting/overview
Self Hosting | Supabase
Getting started with Self Hosting.
jsp
jspOP3y ago
Thanks!
silvanet
silvanet3y ago
Quick start: 1. You need the following installed in your system: Docker and docker-compose Git Check, have those and did that 2. Get the code
git clone --depth 1 https://github.com/supabase/supabase
git clone --depth 1 https://github.com/supabase/supabase
Check, did that. 3. # Go to the docker folder
cd supabase/docker
cd supabase/docker
Check, done 4. # Copy the fake env vars
cp .env.example .env
cp .env.example .env
Check, did both before and after replacing the fake vars 5. # Start
docker-compose up
docker-compose up
Check, tons of errors 6. Now visit
http://localhost:3000
http://localhost:3000
to start using Supabase Studio. The localhost Supabase Studio does not connect to my Supabase. I can't log into my account. It's stuck on Default Organization and trying to build new Default Project. Any help moving on???
raph
raph3y ago
supabase doesn't want you to self host, good luck getting help or a good guide on how to set it up. Pay attention the .env set it correctly. Use an actually key form their jwt generator
Chronsyn.dev
Chronsyn.dev3y ago
Nonsense. Of course they're going to support people on their own platform - after all, they're hosting the infrastructure so if something goes wrong, they can jump in. Also, you can't ignore the point that if someone is paying to host on Supabase, there's an expectation that significant issues will be resolved. Saying they don't want you to self-host is just venting though, and completely false. I wrote a guide over a year ago on setting up Supabase on your own infra: https://dev.to/chronsyn/self-hosting-with-supabase-1aii Things have changed a little since then (e.g. introduction of pg-meta container), but most of the process is still very similar.

Did you find this page helpful?