Referencing another service variable when the service has special characters
gio
PROOP

a year ago

If I have a service names "My Backend 2" or "My - Backend - 2", how would I reference this service's vars from another? For example, I tried:

${{ MyBackend.REDIS_PASSWORD }}

For now, I just renamed the service

Solved

1 Replies

a year ago

This should work -
${{ "My - Backend - 2".REDIS_PASSWORD }}


Status changed to Awaiting User Response Railway over 1 year ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...