Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add an option to stop all containers on job-run, then start them again after completion. #255

Open
douglasparker opened this issue Jan 31, 2024 · 0 comments

Comments

@douglasparker
Copy link

douglasparker commented Jan 31, 2024

Hey, I use ofelia to backup my servers using restic.

I currently backup docker volumes while containers are running, but ideally there would be a way for ofelia to stop all running containers and to then start them again after completion.

A setting to decide if ofelia should start containers again based on failure, success, or both would also be nice just to add more flexibility.

Containers that were running with compose should start again using their compose file, and containers running with docker run should start again with the same args. Similar to how Watchtower handles starting containers again after an update.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant