Which environment variable gives me the id of a service instance?
yingzhox
PROOP

a year ago

Hi team,

How can I access the instance id/tag of a service if there are multiple instances?

Thanks

Solved

3 Replies

Railway
BOT

a year 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!


yingzhox
PROOP

a year ago

I've read https://docs.railway.com/reference/variables#railway-provided-variables but not sure if RAILWAY_ENVIRONMENT_ID is what I need


a year ago

Hello,

RAILWAY_REPLICA_ID is what you would want.


Status changed to Awaiting User Response Railway 11 months ago


Railway
BOT

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...