Reference one services generated domain from another?

One service needs to know the generated domain of another, but I don't want to hard-code it. Do variables (shared or otherwise) have the ability to expose that?
Solution:
BACKEND_HOST=${{Service Name.RAILWAY_PUBLIC_DOMAIN}}
BACKEND_HOST=${{Service Name.RAILWAY_PUBLIC_DOMAIN}}
Jump to solution
3 Replies
Percy
Percy4mo ago
Project ID: 78429a85-cd95-4b6b-8047-614f3eda42f4
macwilko
macwilko4mo ago
78429a85-cd95-4b6b-8047-614f3eda42f4
Solution
Brody
Brody4mo ago
BACKEND_HOST=${{Service Name.RAILWAY_PUBLIC_DOMAIN}}
BACKEND_HOST=${{Service Name.RAILWAY_PUBLIC_DOMAIN}}