• Morethanevil@lemmy.fedifriends.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      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

      • blazeknave@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 days ago

        I’ve been thinking about this. Can you do that with watchtower? Don’t need diem or anything?

        • Morethanevil@lemmy.fedifriends.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 days ago

          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.

            • VeryNiiiice@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              ·
              16 hours ago

              Yes. There is a label you would need to apply to all of your containers to specify whether or not to update: com.centurylinklabs.watchtower.monitor-only=true

      • roofuskit@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        3 days ago

        Yeah but what are you updating that is so non-critical you can trust watchtower to update it unattended, without reading release notes?