9 months 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
9 months ago
You want public access without public access?
9 months ago
That seems like a double negative
9 months ago
And SSH access is a thing
9 months ago
9 months ago
Public != anyone can access and upload
Status changed to Solved brody ⢠9 months ago