6 months 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
6 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!
6 months 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 • 6 months ago
Status changed to Solved parmstar • 6 months 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.
6 months 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 • 6 months ago
6 months 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 • 6 months ago
6 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 • 6 months ago