5 ms·
This looks great! How easy is it to self host Supabase? Is it more like "we're open-source, but good luck getting this deployed!", or can someone really build o
by yoavm 3y ago
This looks great! How easy is it to self host Supabase? Is it more like "we're open-source, but good luck getting this deployed!", or can someone really build on Supabase and if things get a little too expensive it's easy enough to self-host the whole thing and just switch over? I wonder if people are doing that.
- kiwicopple 3y agoself-hosting docs are here: https://supabase.com/docs/guides/self-hosting/docker https://supabase.com/docs/guides/self-hosting/docker And a 5-min demo video with Digital Ocean: https://www.youtube.com/watch?v=FqiQKRKsfZE&embeds_referring_euri=https%3A%2F%2Fsupabase.com%2F https://www.youtube.com/watch?v=FqiQKRKsfZE&embeds_referring... Anyone who is familiar with basic server management skills will have no problem self-hosting. every tool in the supabase stack[0] is a docker image and works in isolation. If you just want to use this Storage Engine, it's on docker-hub (supabase/storage-api). Example with MinIO: https://github.com/supabase/storage/blob/master/docker-compose.yml https://github.com/supabase/storage/blob/master/docker-compo... [0] architecture: https://supabase.com/docs/guides/getting-started/architecture https://supabase.com/docs/guides/getting-started/architectur...
- replwoacause 3y agoI was pretty unhappy with the self hosted offering. It’s neutered compared to the cloud, which was disappointing.
- kiwicopple 3y ago> neutered Can you share more? There is nothing missing, it’s all the same code that we run in production (besides some login changes to keep it decoupled from the platform)
- ihateolives 3y agoFrom top of my head: reports and multiple projects. Also I kept getting weird "fetch failed" errors when creating rules or adding users from gui working behind reverse proxy so I gave up on the end.
- replwoacause 3y agoSure. I wouldn't quite agree with you that "there is nothing missing" though. https://github.com/orgs/supabase/discussions/4444 https://github.com/orgs/supabase/discussions/4444 https://github.com/orgs/supabase/discussions/4421 https://github.com/orgs/supabase/discussions/4421
- kiwicopple 3y agothanks for the links > https://github.com/orgs/supabase/discussions/4444 https://github.com/orgs/supabase/discussions/4444 This discussion is about configuration: self-hosters configure configure their services in code[0], using .env vars / docker-compose.yml and should be checking it into source control. Self-hosters are not missing any functionality - the opposite actually: we have a subset of configuration items available on the platform I get that it's different to the platform, but it's (IMO) the more "correct" way - all configuration should be version controlled > https://github.com/orgs/supabase/discussions/4421 https://github.com/orgs/supabase/discussions/4421 This one is about Auth providers. They are also configuration: https://github.com/supabase/auth?tab=readme-ov-file#configuration https://github.com/supabase/auth?tab=readme-ov-file#configur... [0] Configuration in code: https://supabase.com/docs/guides/self-hosting/docker#configuring-services https://supabase.com/docs/guides/self-hosting/docker#configu... [1] Terraform: https://supabase.com/docs/guides/platform/terraform https://supabase.com/docs/guides/platform/terraform
- deleted 3y ago[deleted]
- kiwicopple 3y ago(FYI: I saw a deleted comment that this requires a restart: the same is true on the platform)
- tmountain 3y agoI believe that the self hosted version is missing auth hooks. https://www.reddit.com/r/Supabase/comments/1bpaq9w/comment/kx3y479/?context=3 https://www.reddit.com/r/Supabase/comments/1bpaq9w/comment/k...
- zipping1549 3y agoSome may disagree but in my experience Supabase was definitely challenging to selfhost. Don't get me wrong; I'm pretty confident with selfhosting but Supabase was definitely on the hard side. Pocketbase being literally single-binary doesn't make Supabase look good either, although funtionalities differ.
- kiwicopple 3y agoYes, we have a vastly different architecture[0] from Pocketbase. We choose individual tools based on their scaling characteristics and give you the flexibility to add/remove tools as you see fit. I doubt we can ever squeeze the "supabase stack" into a single binary. This undoubtedly makes things more difficult for self-hosters. Just self-hosting Postgres can be a challenge for many. We will trying to make it easier, but it will never be as simple as Pocketbase. [0] https://supabase.com/docs/guides/getting-started/architecture https://supabase.com/docs/guides/getting-started/architectur...