Problems with variables
pilarndev
TRIALOP

a year ago

Hi!,

I have connected my web service to another PostgreSQL service (both are part of the same project web) and created the reference variables (PGUSER, PGDATABASE, etc.) from the dashboard. However, when I run railway variables from the CLI, these variables do not appear; only the ones I created manually and the ones for the web service itself are shown. So, in my Node.js application, when I try something like process.env.PGUSER, it doesn't contain any value. Can you help me?

Thanks!

Solved

3 Replies

a year ago

Hello,

You have not deployed the changes, go ahead and deploy the changes and the variables will be saved.


pilarndev
TRIALOP

a year ago

Wow! I didn't know that the changes had to be deployed. It's fixed now! Thanks again for responding so quickly!


a year ago

No problem!


Status changed to Solved brody over 1 year ago


Loading...