Enable Watchtower for all services #123

Merged
valberg merged 19 commits from watchtower into main 2023-01-21 17:17:56 +00:00
Showing only changes of commit e5dcfea003 - Show all commits

View file

@ -2,7 +2,7 @@
- name: watchtower container
docker_container:
name: watchtower
image: containrrr/watchtower:latest
image: containrrr/watchtower:amd64-1.5.1
samsapti marked this conversation as resolved Outdated

Let's pin this to a version instead of latest.

Let's pin this to a version instead of latest.

Why not latest?

Why not latest?

Because I want to avoid confusion due to an unintended upgrade.

Because I want to avoid confusion due to an unintended upgrade.

I don't fully agree. I think it's better to always use the latest version security-wise, especially when it has access to the Docker socket.

I don't fully agree. I think it's better to always use the latest version security-wise, especially when it has access to the Docker socket.

I agree, and we should strive to upgrade whenever a new version is available. But I don't want stuff to suddenly break behaviour without us knowing why.

I agree, and we should strive to upgrade whenever a new version is available. But I don't want stuff to suddenly break behaviour without us knowing why.

I'll pin it then. GitHub supports RSS feeds for releases, maybe we could use that to be notified about new releases? We could set up notifications in our Matrix channel somehow.

https://github.com/containrrr/watchtower/releases.atom

I'll pin it then. GitHub supports RSS feeds for releases, maybe we could use that to be notified about new releases? We could set up notifications in our Matrix channel somehow. https://github.com/containrrr/watchtower/releases.atom

Sounds like a great idea!

Sounds like a great idea!
restart_policy: unless-stopped
env:
WATCHTOWER_POLL_INTERVAL: 60