How to deploy Supabase on Railway?
Has anybody done this? If so how?
I noticed there is no template for Supabase.
Also apparently no support for docker-compose yml's, which are in the Supabase github repo.
Any help would be appreciated.
7 Replies
Project ID:
N/A
Currently, you are not able to deploy Supabase on Railway, as some of the services, such as Image Proxy and Image Storage require your volume to be shared across multiple services (which Railway does not support). Once Railway supports shared volumes across multiple services, a template will be provided for ease of deployment.
I am waiting for the team to release shared volumes so that I can finalize the Supabase template.
any update on this?
railway does not yet support shared volumes
New reply sent from Help Station thread:
Still no solution about this? Not even a workaround?You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
+1 would love to be able to deploy Supabase on RailwayYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
No there is still no solution to this as of yet, and no workaround. Railway does not currently support shared volumes which are required for some of the services. As soon as this is available, we will be making a template available to everyone to self hostYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Maybe I misunderstood, but I think i saw volume support dropped this week. Does that mean Supabase templates are coming soon?You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Volume support for the V2 runtime is not the same as the volume support that's required to run Supabase.We need shared volumes which means attaching the same volume to multiple services in order run Supabase.You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
hey guys.. is this template legit?https://railway.app/template/wj1mcUYou're seeing this because this thread has been automatically linked to the Help Station thread.
It is most certainly not, the supabase server attempts to run docker commands inside of the container, that isn't currently supported and has never been supported.
update, that template has now been unpublished, you can still access it via its link, but it will no longer show up in the template deploy menu
New reply sent from Help Station thread:
Me too , we need itYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
I’m looking run supabase into my railway app as wellYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Yo railway? Can someone clarify if this will ever be possible. We don't need the image stuff. What's the best alternative?You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
I’m looking to run supabase into my railway app as wellAt this time, it's not possible as there is no support for multiple volumes on a single service, and there is no support for the same volume being shared to multiple services (in the case of the image proxy and storage). As soon as the team provides these abilities, we will be getting a template outYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Yo railway? Can someone clarify if this will ever be possible. We don't need the image stuff. What's the best alternative?It will be possible, but as stated above, there are certain platforms features missing that don't make it possible at this time. The only alternative would be to run Supabase on a VPS or use their cloud offering in the meantime.You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Yo railway? Can someone clarify if this will ever be possible. We don't need the image stuff. What's the best alternative?Have you tryed something like pocketbase? It's also a good alternative. Railway has a template for that: https://railway.app/template/XfUmjIHas a database, auth build in. And file uploads (using S3) It's worth to check outYou're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Yo railway? Can someone clarify if this will ever be possible. We don't need the image stuff. What's the best alternative?Have you tryed something like pocketbase? It's also a good alternative. Railway has a template for that: https://railway.app/template/XfUmjIHas a database, auth build in. And file uploads (using S3) It's worth to check outIn my case I have a lot of projects into supabase and I love Railway so would be great to be together, deploy supabase with a single click into Railway 🫶You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Any chance we could get a template without the features that depend on shared volumes? I just want a Postgres with a nice UI. :)You're seeing this because this thread has been automatically linked to the Help Station thread.