Repository navigation
Per-container schedules and container events as two separate, opt-in capabilities #3717
andrewrduncan
started this conversation in
Ideas
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Feature Request Checklist
Problem Description
Following up on #3535, and on #2521 before it. Thanks for the clear feedback there. We took two points from it:
The original need (#1589) is unchanged. Some containers should be checked on a different cadence than the global
--schedule, without running a second Watchtower instance.Desired Solution
We've rebuilt this as two independent capabilities. Each works alone, and both are off by default.
1. Per-container schedules (
--container-schedules, labelcom.centurylinklabs.watchtower.schedule)2. Container events (
--watch-events)docker compose up) is checked right away instead of at the next scheduled run.Each capability is a self-contained PR with tests and docs, and there is no code shared between them except the small "due" parameter on the update session.
Current Alternatives or Workarounds
Today the alternative is running several Watchtower instances with different scopes and schedules. We've been running both capabilities from a fork on our own server.
Additional Context
We know a feature like this is something you may prefer to design yourself, or not take at all. If that's the case, no problem: we're happy to close this and keep maintaining it in our fork. We're also glad to reshape either PR around whatever design you'd prefer. We'll open the PRs as drafts so there's concrete code to discuss, without asking you to review them before you've weighed in here.
All reactions