#Database URL showing credentials for different ENV

23 messages · Page 1 of 1 (latest)

sleek kiln
#

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

ruby bayBOT
#

Is this about a specific service? Linking one helps us understand your setup.

whole brook
sleek kiln
#

I know what youre saying, this is different though

#

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.

sleek kiln
#

here brody, I can't find it in the list of 92 services in the dropdown above

#

You'll see what I mean in the DATABASE_URL value

silk yacht
silk yacht
silk yacht
sleek kiln
#

Heres a pic

#

Example service

#

hiding the rest of the url of course but see the dev in the name?

silk yacht
#

Thats just what you have the private domain named.

sleek kiln
#

my bad

#

i understand

silk yacht
#

No worries.