Skip to content
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

Watchtower Intergration #35

Open
PsycloneTM opened this issue Oct 14, 2024 · 1 comment
Open

Watchtower Intergration #35

PsycloneTM opened this issue Oct 14, 2024 · 1 comment

Comments

@PsycloneTM
Copy link

Does anyone know if this could be integrated with watchtower?

This would make things a lot more automated.

@wowu
Copy link
Owner

wowu commented Nov 3, 2024

I've never used watchtower, but looking at their documentation I can't think of an easy integration right now. Hooks are being run inside the container, so we can't use docker-rollout there, and Notifications are designed for a different purpose.

So I can suggest these solutions for automatic zero-downtime deployment:

  1. Watchtower implementing their own zero-downtime-like docker restart flow similar to docker-rollout (I see there's an active issue: Add the ablity to work with docker rollout containrrr/watchtower#2039)
  2. You can use a script like this https://gitlab.com/MatthiasLohr/omnibus-gitlab-management-scripts/-/blob/main/docker-image-update-check.sh with docker-rollout and run it via cron
  3. You can use docker-rollout version from Add option to run deploy only if image update available #7 and run it via cron

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

No branches or pull requests

2 participants