WUD (What's up docker?) Keep your containers up-to-date!

I have some images built locally, based on a repo image e.g. my image kvstore is based on the official redis image.

Is there a way to watch when redis:latest changes and have this associated with my kvstore container, thus prompting me to rebuild it.

I’ve not been able to get wud to publish anything to MQTT - at all. The docker logs don’t show ANY MQTT activity. What am I doing wrong? Here is my docker-compose:

services:
  whatsupdocker:
    image: getwud/wud
    container_name: wud
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 3000:3000
    environment:
      - WUD_TRIGGER_ENABLED=mqtt
      - WUD_LOG_LEVEL=DEBUG
      - WUD_WATCHER_DOCKER_CRON=0 * * * *
      - WUD_TRIGGER_MQTT_MOSQUITTO_URL=mqtt://10.0.0.3:1883
      - WUD_TRIGGER_MQTT_HASS_ENABLED=true
      - WUD_TRIGGER_MQTT_HASS_DISCOVERY=true
      - WUD_TRIGGER_MQTT_MOSQUITTO_CLIENTID=wud
      - WUD_TRIGGER_MQTT_MOSQUITTO_USER=wud
      - WUD_TRIGGER_MQTT_MOSQUITTO_PASSWORD=MYPASSWORD
networks: {}

EDIT: Never mind. I was missing
WUD_TRIGGER_MQTT_MOSQUITTO_HASS_ENABLED=true

Cross posting in case anyone is interested:
Custom WUD Card for updates

1 Like

I’d like to add a calendar (local Home Assistant calendar) entry anytime a container shows an update but would like to avoid having to create a trigger for each container.

Thinking of just a 30 minute entry with the container name as the title and the versions in the description.

Good way to do this?

Is there a way to have different entities for different WUD on local servers? it seems from the source code that a configuration item is missing, indeed the name of the device is fixed

i have several hosts and some containers in all hosts (as an example, wud itself) how can this work in HA if the device is always the same?
thanks

my wud doesnt see all my containers. And also the updates are just wrong e.g. it says 8.1.1 as available update, but I’m already on that version:

I run a swarm service on a single node:

  whatsupdocker:
    image: getwud/wud:8.1.1
    networks:
      - inbound
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./wud/store:/store
      - ./docker-compose.yml:/wud/docker-compose.yml
    environment:
      - WUD_WATCHER_LOCAL_SOCKET=/var/run/docker.sock
      - WUD_AUTOUPDATE=false
      - WUD_WATCHER_LOCAL_WATCHBYDEFAULT=true
      # optional but handy when triggering compose updates
      - WUD_TRIGGER_DOCKERCOMPOSE_WUD_FILE=/wud/docker-compose.yml
      - WUD_TRIGGER_DOCKERCOMPOSE_WUD_PRUNE=true
      - WUD_TRIGGER_DOCKERCOMPOSE_WUD_AUTO=true
      - WUD_WATCHER_LOCAL_WATCHDIGEST=true
    labels:
      - "wud.watch=true"
      - 'wud.tag.include=^\d+\.\d+\.\d+$$'
      - 'wud.link.template=https://github.com/getwud/wud/releases/tag/$${major}.$${minor}.$${patch}'
    deploy:
      placement:
        constraints:
          - node.role==manager

Looks like it is probably digest related as 8.1 and 8.1.1 have the same keys on them when i look. Maybe it thinks the installed is the 8.1 version based on that.