TL;DR: is there an app that can alert me when a new version of some other app is available?

I have about 12 - 15 services (freshrss, heimdall, photoprism, Wordpress, etc) running using docker compose spread across 4 hosts. Through my self-hosting journey I’ve been burned a few times using “latest” images so I now pin app image versions within compose.

The problem then becomes that every couple of weeks, I have to go out to different GitHub’s, docker hub, etc. to see if a new update for that service is available. It gets a bit tedious with 12-15 services every couple of weeks so I need a centralized and more efficient way of “keeping up”.

Is there some type of app that can track whether an app/service has a new version available? Ideally it can send me some type of notification, self-hostable, and ideally not Portainer?

  • Mutterwitz@feddit.de
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    7 months ago

    Maybe take a look at Diun or Watchtower

    I use Diun and ntfy to get push notifications about new docker image versions on my smartphone. Other options include notifications for Discord, mail, MQTT, Slack, Webhook and more.

      • wreckedcarzz@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 months ago

        Taking a brief look at that blog post, the author doesn’t know that wt can be set to only notify… Or that wt can be set to act at specific date or time… It’s like they never looked at the wt env variables at all, just yolo defaults and then complain that it doesn’t do what they want out of the box (‘because my settings are the best and they should clearly be the default for everyone!’). For someone who spent much time exploring other options and complaining, they didn’t take ~10 minutes to learn that the initial issue was indeed themselves.

        (I use wt and set up many options to avoid these issues, successfully)

        • B0rax@feddit.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          While of course Watchtower can be configured to not update and only notify there is also a nice, lightweight alternative out there that is built only for image update notifications: Diun.

          I think he looked at it.

          • wreckedcarzz@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 months ago

            Why did they spend 8 paragraphs of ‘this is terrible’ and then be like ‘but you can change that, though I decided not to’. I dunno, the whole post is stupid, imo. It’s complaining about something that has already been resolved, then suggesting a different solution.

            shrug

    • lal309@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 months ago

      Love that username tho!! Yeah might just do RSS. I already run FreshRSS and it’s ability to filter stuff would probably come in handy too

      • schmurian@lsmu.schmurian.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        Not more but I would say it offers some additional options and integrations, because it’s api based. For example, on my server I connected it with ntfy.sh which executes the command to pull the update, for the apps’ docker container. (It’s working 90% of the time)

    • lal309@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      After you mentioned it, I looked it up too and stumbled on a similar answer to that link. Thanks!

  • mbirth@lemmy.mbirth.uk
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 months ago

    I just have Watchtower stopped and configured in “one-shot” mode sitting on all my Docker hosts. And when I’m in the mood of updating and fighting with possible issues, I just run it. Works much better for me than some update notification popping up in the worst possible moment, me dismissing it and then forgetting about it. 🤣

    • lhamil64@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      That will just pull the latest image though right? I.e., if you explicitly have a container on a tag for v1.2.3, it wouldn’t upgrade you when v1.2.4 is released right?

        • lhamil64@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          No, I mean doesn’t it only look for updates of the current tag? That works fine if you set every container to the “latest” tag, but if you set your containers to specific version tags then you won’t get a notification unless that specific tag gets updated.

  • __init__@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    If you have your compose files in git, you might be able to use renovate to send you pull requests with image updates. I’ve done something similar with kubernetes but I think it supports docker compose too. You might need some kind of automation on your hosts to keep things in sync.

  • bluegandalf@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 months ago

    Check out WhatsupDocker. I use the same to inform me of updates. It is self-hostable as well. I then use the WUD widget for homepage to let me know that there’s an update available on my dashboard

  • MrSoup@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 months ago

    The best thing would be to make yourself a web crawler which get executed by cron.
    I’m not sure there is something which check some specific strings on some specific github repos for checking updates, but I could be wrong.

  • CronyAkatsuki@lemmy.cronyakatsuki.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    I selfhost an instance of ntfy and changedetecttion.

    Ntfy is for simple push notifications from absolutely anything, even just curl.

    Changedetection is for detecting changes on websites, prices, is something in stock, … It supports ntfy for push notifications so I just add the releases page from github to changedetection and then I get a push notification on my phone when anything gets an update.