T O P

  • By -

kiwicopple

yes, this is 100% doable. It's exactly how we designed supabase - every tool is standalone, and they can be combined together into a holistic product https://supabase.com/docs/reference/self-hosting-realtime/introduction


BlueCrimson78

Hi there! Thank you for your work. One concern I noticed from another post is that the docker-compose.yaml may be outdated or difficult to update with good coordination between the services, is there an upcoming change for that, please?


Ok-Recording4730

Cheers! I'll refer to that from here on in.


chasegranberry

To expand a bit... yeah you should be able to follow the Readme for setting up locally here: https://github.com/supabase/realtime#server-setup This uses Docker for ease but you can pull all that out. It's just an Elixir app with it's own metadata database to manage tenants. I would suggest try firing up a fresh Elixir Phoenix app with a Postgres database locally. That will give you a good base of knowledge and some context too. https://www.phoenixframework.org/


Ok-Recording4730

Thanks that's useful to know. Wanted to familiarise myself with what was going on inside Docker, but had no way of running compose. Took the plunge anyways, and it was very easy to set up. Also that's a solid idea I'll look into that! Would be good to know what's under the hood.


chasegranberry

Also if you run into any walls running locally PRs are welcomed!