a year ago
Hey,
Is there a way to have all the PR enviroments have the option to go sleep enabled by default? And keep other settings for production and staging?
4 Replies
a year 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!
a year ago
You can manage different settings for production and staging environments separately by using the environment isolation feature, which allows different configurations for each environment.
https://docs.railway.com/reference/environments#environment-isolation
> Is there a way to have all the PR enviroments have the option to go sleep enabled by default?
No, but you could turn Serverless on in these environments.
Status changed to Awaiting User Response Railway • about 1 year ago
Status changed to Solved parmstar • about 1 year ago
parmstar
You can manage different settings for production and staging environments separately by using the environment isolation feature, which allows different configurations for each environment. <https://docs.railway.com/reference/environments#environment-isolation> \> Is there a way to have all the PR enviroments have the option to go sleep enabled by default? No, but you could turn Serverless on in these environments.
a year ago
Hey, thanks for the quick answer. Would I have to do that manually or is there a setting that would effect all new PR environments?
Status changed to Awaiting Railway Response Railway • about 1 year ago
a year ago
PR environments pull the default config from the environment they're pulling from. So, if you want this, I would create another staging environment, and pull that config from it.
Status changed to Awaiting User Response Railway • about 1 year ago
a year 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 • 12 months ago