- cross-posted to:
- docker@lemmy.world
- cross-posted to:
- docker@lemmy.world
cross-posted from: https://lemmy.world/post/26728988
Hi - I’m rebuilding my homelab and want to give docker compose another try. It looks like Watchtower is years out of date now. I see two forks that look more promising per https://techgaun.github.io/active-forks/index.html#https://github.com/containrrr/watchtower
These two: https://github.com/beatkind/watchtower https://github.com/nicholas-fedor/watchtower
The former seems to have more activity. What are you all using?
I only let me notify about updates. I don’t want autoupdates, because some projects may have breaking changes (looking at you Immich 😁)
I get a message from watchtower over Gotify and then I can read the changelog
I just use RSS for this ¯_(ツ)_/¯
I’ve been thinking about this. Can you do that with watchtower? Don’t need diem or anything?
It is very easy. Here is my compose:
services: watchtower: image: containrrr/watchtower container_name: watchtower restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/localtime:/etc/localtime:ro command: --interval 10800 logging: driver: local environment: WATCHTOWER_NOTIFICATION_URL: gotify:// WATCHTOWER_NOTIFICATIONS_HOSTNAME: Fancy name WATCHTOWER_MONITOR_ONLY: true WATCHTOWER_WARN_ON_HEAD_FAILURE: never
Every 3 hours it will check for updates, send a message via Gotify and pull the new images. It will not restart the containers with the new images.
Is it possible to have it auto update say one container and notify the rest?
No, because MONITOR_ONLY is for all
Honestly I think this might be a better way than what I’m using now. I’ve subbed to dockerrelease.io and releasealert.dev … get spammed all day everyday because the devs keep pushing all sorts of updates to old branches… or because those sites aren’t configured well.