railway run - DATABASE_URL vs DATABASE_PUBLIC_URL
Wondering if this is a bug.
I've got a rails app deployed and it's using DATABASE_URL and it all works (migrations, jobs, etc).
If I then use:
I look at
And I see DATABASE_URL set to the internal value. However if I run
it times out and can't reach postgres.
If instead, I run:
it works. So i'm wondering why
railway run
isn't in the private network?4 Replies
Project ID:
366ad74c-a280-40ef-bebb-04ef72d94ee4
project id: 366ad74c-a280-40ef-bebb-04ef72d94ee4
Solution
please know that railway run, runs the commands locally
ah, that explains it