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

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

    • ZeldaFreak@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Auto update. Works like a charm, except PostgreSQL. For me it’s good enough and even though works with containers, where they don’t recommend it. I do have backups and for my private time, I don’t get paid, so it should be as maintenance as possible from my side.

      I do check from time to time if something is broken and I noticed a container where they removed a version tag, I was using. The “biggest” thing that was broken, was my gitea server where they changed the config for the default Theme.

      Also that’s why I hate PostgreSQL. It requires manual labor for updating. Had a recipe Docker and they cut support for previous major version quickly. Not good. That stuff could break, ist an option with every update. This is why backups exist. As a single user, it’s not a problem. For a big system, I wouldn’t do auto updates, so I can check if everything works.

    • Morethanevil@lemmy.fedifriends.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 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
        ·
        2 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
          ·
          2 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.

          • bigDottee@geekroom.tech
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 days ago

            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.

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      Automatic updates. Works like a dream. Depending on what you are running it can obviously cause issues, either server side breaking or server,client communication issues