Railway env service name

Is there a way to get SERVICE_NAME as Railway provided global variables ? I would like to get the name of my service inside my apps I saw there is RAILWAYSERVICE{ServiceName}_URL
But i would like to just get ServiceName
4 Replies
Percy
Percy2y ago
Project ID: 66a8764a-14a2-4e1a-980a-79971c3d9cfb
Rafal - Pirate nation quest
66a8764a-14a2-4e1a-980a-79971c3d9cfb up
Ray
Ray2y ago
RAILWAY_SERVICE_NAME and RAILWAY_SERVICE_ID works
Rafal - Pirate nation quest
thanks!
Want results from more Discord servers?
Add your server