22 days ago
keep Docker DB for local dev, but set Railway apiDATABASE_URL to a Railway-reachable DB URL for deploys.
4 Replies
22 days ago
stuck in a loop
22 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 22 days ago
22 days ago
If you’re DB is pointing to local Docker try adding PostgreSQL to your Railway project (Canvas → New → Database → PostgreSQL).In your API service → Variables, set:
DATABASE_URL = ${{Postgres.DATABASE_URL}}
dharmateja
If you’re DB is pointing to local Docker try adding PostgreSQL to your Railway project (Canvas → New → Database → PostgreSQL).In your API service → Variables, set:DATABASE_URL = ${{Postgres.DATABASE_URL}}
21 days ago
I'm facing a similar issue. my service is pointing to the internal URL of the postgres docker but the issue persists.
ahmedaatif
I'm facing a similar issue. my service is pointing to the internal URL of the postgres docker but the issue persists.
21 days ago
Railway can’t reach a local Docker DB unless your port is exposed to internet