Next.js + Supabase

a year ago

Description: A sensible modern set of defaults for a Next.js app with Supabase

Category: Starters

URL: https://railway.app/template/wj1mcU

6 Replies

a year ago

Hey, I would like to ask you to unpublish this template as it does not work, and can not work, the supabase server attempts to run docker commands inside of the container, that isn't currently supported and has never been supported.


a year ago

Fair, have been meaning to come back to it. My original idea was to just not self-host supabase on railway, I'll start with that idea


a year ago

Unfortunately self hosting supabase on Railway isn't possible, not because Railway doesn't support docker compose, but because two of the services require access to the same volume, aka shared volumes.


a year ago

I see that you've since removed the supabase server service from the template, feel free to republish as long as the remaining service works, if you do so, please set a correct icon as the template icon.


a year ago

Yup should be all set now! Added supabase auth pages too so someone can get auth just by setting up the environment variables. Should be useful for folks!


a year ago

Awsome, nice work!


Next.js + Supabase - Railway Help Station