Keep compose-files up to date reddit / selfhosted ---------------------------------------------------------------------- Tone866 · 2023-12-10 18:47 I‘m still kinda new to docker. One of the key points for me was the easy update possibilities with e.g. watchtower. I do everything with docker compose, but sometimes the maintainer changes the compose file itself. So do I really have to manual check every website for every container on every update if the compose file changed? Or can I also automate it somehow? ---------------------------------------------------------------------- thekrautboy · 2023-12-10 18:57 You could easily script something to check a Github repo for updated compose file and if it has been changed, download it and redeploy it on your host. **But thats a terrible idea.** If a project changes a compose file that usually means much more has changed then just a minor version update. And those big changes are likely to need your attention when upgrading, doing it blindly and automated is likely to break things. The same logic applies to using a tool like Watchtower to blindly auto-update all your containers. Its a bad idea longterm. **This gets discussed almost weekly here.** ---------------------------------------------------------------------- clintkev251 · 2023-12-10 19:25 Yes, you just need to check, generally at least for minor version updates and above. ---------------------------------------------------------------------- Wheels35 · 2023-12-11 06:01 Additionally there is the Mend Renovate Bot, I haven't gotten around to setting myself, but the basics is it will scan your docker compose files in a repo (public or private) and will do a PR in for each dependency that needs updating, that way you can decide what to roll up or not. ---------------------------------------------------------------------- Lev420 · 2023-12-11 17:44 you generally don't need to update compose files unless there's a major update