3 months ago
Hello. When referencing a database URL using the internal database name from one environment, it still seems like it's pointing to the dev environment, for example from the prod environment. I know that because when I click to unmask what the credentials are, it's showing the dev credentials not the appropriate production credentials, which is the environment that it's currently being viewed in.
Could someone take a look?
Example - Look at the database URL value in this service
21 Replies
3 months ago
If you select a service, and then select a different environment, you don't automatically select the new environment's version of the service
Is this the case for you?
I have three environments: dev, test, and prod. All three share the same application names and database names and use Railway internal networking. When I resolve the variable for the database URL from the application in production, it's showing me the database URL credentials for the dev environment.
3 months ago
^
3 months ago
Fair enough. For future reference, if you provide a project ID in your root message, the applicable service is brought to the top of the list.
3 months ago
Looks like the correct service in the correct environment is being referenced to me.
3 months ago
I didn't do anything, though.
Attachments
3 months ago
Thats just what you have the private domain named.
3 months ago
No worries.
Status changed to Solved brody • 3 months ago