Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For example: https://github.com/onedr0p/home-ops/pull/4528
Don't use watchtower. It only looks for the latest tag on a container, latest could be v2 and then become v3 which has breaking changes. If you insist, use watchtower in notify-only mode or check out Diun instead and never use a latest tag ever again.
I've use a script to check for updates. Than - for updating - I have a simple bash script that does the dc pull, dc up - d, and cleans afterwards.
I use https://github.com/adnanh/webhook to deploy the changes in the git repository to the server and have it run docker compose up -d. I actually just modified it this week to run the docker commands in a background queue using https://vicerveza.homeunix.net/~viric/soft/ts/ (commands are added to a queue and run in the order they were added, useful for long-running commands) this way webhook can reply that the git repository was updated on the server and the docker compose command was added to the task queue and webhook doesn't timeout.
It depends. Some containers I update automatically using watchtower: there comes something not critical or where I'm using a development version of an app. But I update some containers manually by rolling out new deployments in Nomad.