new environment still using db url from cloned dev environment
hi everyone, does cloning take some time to update? I cloned an environment (dev) and called it "staging". Even after changing the db url, it still accesses the postgres db from my dev environment. Does it take some time to work correctly?
Solution:Jump to solution
you need to use reference variables - https://docs.railway.app/guides/variables#referencing-another-services-variable
4 Replies
Project ID:
f8e28444-90c1-4091-a59d-9d6852e2caec
f8e28444-90c1-4091-a59d-9d6852e2caec
you likely have it hardcoded somewhere
Solution
you need to use reference variables - https://docs.railway.app/guides/variables#referencing-another-services-variable