SwiftOne
Can't run service with CLI and connect to Postgres service
Yes, you said that. My question was how. I don't see how railway shell is useful then. The guides I found for plugins (pre service, I guess?) such as your own blog post suggested I could connect to Postgres without having to write new conditional code.
11 replies
Can't run service with CLI and connect to Postgres service
Running
railway shell
tells me I'm in a subshell, and npm start
starts my express server locally, but it dies with the exact same ENOTFOUND message trying to connect to the Postgres service.11 replies
Can't run service with CLI and connect to Postgres service
From skimming other answers, this appears to be working as intended (local deploys will have to connect using public addresses), but I'm unclear how to have my code use variables but have different values for those variables when running using "railway run"
11 replies