2 years ago
I would like to use slight different values in Variables with PR Environment, is it possible?
7 Replies
2 years ago
railway doesn't provide any native way to do this kind of thing at the moment, would you mind sharing your usecase?
2 years ago
Thanks for fast response.
Some use cases that comes to my mind:
Rails app is using WEB_CONCURRENCY env variable, in PR Environment it should be lower due to virtually zero use
Using different third party services tokens due to higher pricing
and probably more
Normally I would expect to make changes in Variables for PR Environments
I see in docs that there is possible to override some deploy options with railway.toml configuration file, unfortunately Variables are not covered
2 years ago
Ah good examples, that makes perfect sense.
Currently PR environments are kinda done behind the scenes and don't allow for any user configurations like what you have mentioned.
2 years ago
I undestand, thanks anyway for answer.
2 years ago
This 100% could be something to post in the feedback channel on Railway’s discord