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

6 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 <empty string>, but in the raw editor it is

${{Redis.RAILWAY_PRIVATE_DOMAIN}}.

Solved

3 Replies

Railway
BOT

6 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!


6 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 6 months ago


shirecoding
HOBBYOP

6 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 6 months ago


Status changed to Solved brody 6 months ago


Loading...