How do I set up PR environments to have a postgres service?
I must have messed something up yesterday, as this was working, but now isn't.
When I open a new PR, railway will notice and build a PR environment. Previously these had a Postgres service that would 'appear' in the environment, and therefore enable the app to connect. Now the service isn't appearing, so the GH repo deploys but crashes instantly.
What have I broken?
development and production have both got a DB service, though none of the pr environments do.
7 Replies
Project ID:
8a43b0e6-5720-40f3-8ee1-27f04ba76646
8a43b0e6-5720-40f3-8ee1-27f04ba76646
I have a similar issue to this too.
I am a user new user from yesterday
new PR environments (and even brand new environments togehter) never showed my postgres database
What have I broken?nothing! Sounds like a bug on our end, I've raised the issue 🙂 will keep ya posted Hey, this should be fixed now. Try again?
Is there a way to have a PR branch Postgres copy the data from the develop branch?
We did a woraround last night, but not that this is fixed, we're trying to figure out how to figure that
not automatically; we don't copy data over
what's your workaround?
We manually set all PR branches to use the develop branch's environment's DB variables