4 months ago
i have a staging env, and I'm trying to build my production env but it keeps saying service name is already taken.... are names not isolated between environments?
6 Replies
4 months 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!
4 months ago
whats weird is postgres and redis are named the same but it won't let me name my service?
Attachments
4 months ago
having to have different service names between envs would be a huge pain in the arse
4 months ago
Hello,
You would want to use the environment syncing feature instead of creating services manually, like you are doing now.
https://docs.railway.com/guides/environments#sync-environments
Status changed to Awaiting User Response Railway • 4 months ago
4 months ago
interesting.... Does everything have to be synced? What if I wanted my production environment only to use a postgres database hosted elsewhere? Like do env vars get synced as well?
Status changed to Awaiting Railway Response Railway • 4 months ago
4 months ago
You do not need to sync everything; you can discard any changes you don't want to sync over.
Status changed to Awaiting User Response Railway • 4 months ago
4 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 • 4 months ago