#How to connect Supabase to Railway
35 messages · Page 1 of 1 (latest)
No specific service linked.
Are you hosting Supabase or are you connecting an external instance?
connecting external instance
i already have a project in supabase but it is still empty
is this correct
You need to redeploy your service to use the variables.
Go to your project dashboard and hover over the URL.
this?
so it is the same with Supabase_url variable?
I don't know what you put.
If it's the same, then it's the same.
The URL should start with postgresql://.
It should be called "Direct connection string" in Supabase dashboard.
The string you shared is a Direct Connection URL. While it looks correct, it will likely cause your app on Railway to crash with a Network is unreachable or ENETUNREACH error.
it says this
What said that...
it says that railway only support Ipv4 connection but supabase uses IPv6
is it true tho
does railway now supports Ipv6? since i researched again and it said yes
That costs extra money, can't you just enable outbound IPv6 on the railway service?
so i dont need to change the port 5432 to 6543
or change the pooler in supabase
Oh cool. Didn’t know it’s now a feature flag.
If they are reference variables, no. You need to keep them.
how about for Supabase_URL?