Referencing ${{Service.Variable}} does not work
shirecoding
HOBBYOP

10 months ago

i set my REDISHOST=${{Redis.RAILWAY_PRIVATE_DOMAIN}} in my app service.

it does not work i only works if i use the exact value withing referencing xxx.railway.internal.

I have checked the service name is 'Redis' and 'RAILWAY_PRIVATE_DOMAIN' is correct.

In the UI, when you click show, it says , but in the raw editor it is

${{Redis.RAILWAY_PRIVATE_DOMAIN}}.

Solved

3 Replies

Railway
BOT

10 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


10 months ago

Hello,

I set the reference variable on the christmas service, and it seems to work fine. Perhaps you had a typo?


Status changed to Awaiting User Response Railway 10 months ago


shirecoding
HOBBYOP

10 months ago

hmm im not sure if its due to caching or something else but it seems like it is working now.


Status changed to Awaiting Railway Response Railway 10 months ago


Status changed to Solved brody 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...