-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to exclude containers with a label? #126
Comments
This is as good of an explanation as any other on how to achieve what you're asking: https://sdr-enthusiasts.gitbook.io/ads-b/useful-extras/auto-restart-unhealthy-containers#only-monitor-and-restart-a-specific-set-of-containers |
@MrClever as I stated, it's not nice to change 99 containers for that and add a label to all of them. |
@saschabrockel Fair enough - I forget not everyone auto-generates their configuration files from templates etc 👍🏻 In my case, it was literally two lines to update hundreds of images. |
@MrClever what kind of templates? I mean we all have compose files I guess but that's obviously not what you mean. |
I have a bespoke system for generating compose files etc which populates all the repeated stuff. The container configurations are stored in a custom MySQL DB...it wasn't my creation, but it "works" (most of the time). These days, I'd prefer to replace it with a "proper" orchestration framework, but it works well enough that I can't really justify the time/cost to replace it :( |
Okay never heard of it. I know infrastructure as code and things like Ansible of course but never heard of something that is stored in MySQL 😆 |
Yeh, like I said, give me Ansible/Puppet/Chef/etc any day...this thing can be a pain, but it also makes mass changes to configurations easy. |
Is it possible to use a label to specify containers that should be excluded from autoheal instead of being included? I have 100 containers and I don't want to add labels for inclusion to 99 ones because one shouldn't be auto-healed.
The text was updated successfully, but these errors were encountered: