Environment Variable Issue
lionking1994
PROOP

10 months ago

Hello

I am getting environment variable issue. I set 3 environment variables in service. Currently environment variables are not applying during the building docker image in Railway. This image shows there is 0 variables in during the building.

Plz help me to solve this problem

Solved

7 Replies

10 months ago

Hey, have you tried to force redeploy the service using CMD + K > Deploy latest commit? Furthermore, can you show a screenshot of your variables section? All service variables should not have a purple background, if they do, then you will have to apply the changes first. I have attached a screenshot showing that the service variable FOO is not yet applied, while the others are.

1432830400434143232


lionking1994
PROOP

10 months ago

This is my variable setting

1432832327960236174


lionking1994
PROOP

10 months ago

How can I apply these values?


10 months ago

You can apply them by deploying them, this can be done by clicking on the Deploy button, which can be found in the top left/middle part of the canvas/dashboard.

1432833030363549747


10 months ago

Hey @soccer_fan, have you managed to apply the service variables and have them propagated to your deployment?


lionking1994
PROOP

10 months ago

Yes, Thanks


10 months ago

!s


Status changed to Solved uxuz 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...