can't use same service name between environments?
Anonymous
PROOP

a month 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?

Solved

6 Replies

Railway
BOT

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


Anonymous
PROOP

a month ago

whats weird is postgres and redis are named the same but it won't let me name my service?

Attachments


Anonymous
PROOP

a month ago

having to have different service names between envs would be a huge pain in the arse


brody
EMPLOYEE

a month 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 about 1 month ago


Anonymous
PROOP

a month 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 about 1 month ago


brody
EMPLOYEE

a month 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 about 1 month ago


Railway
BOT

a month 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 about 1 month ago


Loading...