a year ago
Hey everyone! 👋
I'm trying to run psql commands against a PostgreSQL service in Railway that has only Private Networking enabled (Hobby plan). Since there's no Shell tab or SSH access, I'm wondering how others usually handle this.
What I’ve tried/considered:
- Using a helper Docker service that runs psql on startup and logs the output
- Exploring tools like pgweb or Adminer deployed as a Railway service
- Temporarily exposing the DB publicly (not ideal)
🔍 My main goal is to run ad-hoc SQL queries (e.g., inspect schema, test data) from outside, without having public access enabled.
Question: What workarounds or approaches have you used to connect to a private Postgres from outside Railway?
Would love to hear how others solve this. Thanks!
8 Replies
a year ago
You want public access without public access?
a year ago
That seems like a double negative
a year ago
And SSH access is a thing
a year ago
Public != anyone can access and upload
Status changed to Solved brody • about 1 year ago