Make "App Sleep" environment-specific
Anonymous

2 years ago

App Sleep as a feature could be more versatile if it was scoped to a particular environment (e.g. "staging"), instead of the entire project (all environments). A user may only care for having a staging environment build run when testing the service, which would be a great use case for App Sleep, while the production environment should never sleep, for example.

Solved

2 Replies

2 years ago

We need this feature. Our costs are 2x what they should be.

A workaround would be to have your production and staging environments as separate "projects" and configure sleeping only on staging. The downside is that you won't be able to make use of the environment forking feature and you'll have to keep config in sync, but config as code would help in this situation.

https://docs.railway.app/reference/config-as-code


2 years ago

you would want to use Environment Overrides

Or, https://railway.app/account/feature-flags Turn on staged changes. This will decouple all environments so you can make changes across them


Status changed to Solved Railway about 2 years ago


Loading...