Container auto sleep/scale to zero
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
What problem will this feature address?
I have a bunch of projects that are only visited once a month/year.
Right now they are running 24/7 and consuming resources.
In some hosting providers they allow you to have auto sleep.
Describe the solution you'd like
I would be very happy if i could to the following:
- toggle scale to zero/auto sleep
- provide the amount of time that the projectcontainers should be alive
- (optional) provide a custom html template to display when its starting
Describe alternatives you've considered
I have tried https://sablierapp.dev/#/ but i could not get it to work.
Additional context
If this stays open for a long time i might give it a shot myself. However i dont have time now and i dont know the internals of Dokploy.
Will you send a PR to implement it?
No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue; start by mapping Dokploy's container lifecycle and deployment controls. Define how the scale-to-zero toggle, container lifetime, and optional startup HTML template should work, then verify each requested behavior across a project that becomes idle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100