Anthony Ross
Anthony Ross
RRailway
Created by Anthony Ross on 10/15/2024 in #✋|help
UI Bug adding Docker container
I don't see this using other input types but i can't type in the form without it resetting - it seems somehow tied to the activityFeed call?
6 replies
RRailway
Created by Anthony Ross on 10/11/2024 in #✋|help
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:
railway run bash
railway run bash
I look at
printenv
printenv
And I see DATABASE_URL set to the internal value. However if I run
rails c
User.count
rails c
User.count
it times out and can't reach postgres. If instead, I run:
DATABASE_URL=<PUBLIC_URL> rails c
User.count
DATABASE_URL=<PUBLIC_URL> rails c
User.count
it works. So i'm wondering why railway run isn't in the private network?
6 replies