Skip to content
Is RAILWAY_REPLICA_ID available on services with only 1 instance?
alex-delia
OP

9 months ago

Trying to figure out the best env variable to use within railway for snowflake ids. What's the best variable to decipher between different services/instances?

Solved

4 Replies

9 months ago

It should be available, yes


9 months ago

You can always check by sshing into a service, and checking what env variables are available


alex-delia
OP

9 months ago

good idea, i forgot about ssh support


9 months ago

Astrid is correct; services with only one replica still have a replica.


Status changed to Solved brody • 9 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...