getwud / wud

WUD (aka What's up Docker?) gets you notified when a new version of your Docker Container is available.
https://getwud.github.io/wud/
MIT License
1.28k stars 39 forks source link

Triggers not working #495

Open deanfourie1 opened 6 days ago

deanfourie1 commented 6 days ago

I am defining triggers like

version: "3"
services:
  whatsupdocker:
    image: getwud/wud
    container_name: wud
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 3000:3000
    environment:
      - WUD_TRIGGER_MQTT_MOSQUITTO_URL=mqtt://mqttserver:1883
      - WUD_TRIGGER_MQTT_MAQIATTO_USER=
      - WUD_TRIGGER_MQTT_MAQIATTO_PASSWORD=
      - WUD_TRIGGER_MQTT_MOSQUITTO_HASS_ENABLED=true
      - WUD_TRIGGER_MQTT_MOSQUITTO_HASS_DISCOVERY=true
networks: {}

But, when I visit the UI, it does not show any triggers present. I have tried the same for SMTP, with the same result.

Am I missing something?

Thanks

image
fmartinou commented 6 days ago

Hi,

When you define trigggers that don't show up, it means that the configuration is invalid.

Take a look at the startup logs; you should observe some warn log lines that highlight the configuration problems.

deanfourie1 commented 5 days ago

But im not sure, the triggers are shown above, taken from the documentation.

fmartinou commented 5 days ago

By copy/pasting your example, I got this warn in the container log

09:44:14.002  WARN whats-up-docker/registry: Some triggers failed to register (Error when registering component mqtt ("url" is required))
fmartinou commented 5 days ago

Is that intentional to mix 2 mqtt triggers ; a mosquitto AND a maquiatto broker ???

typo?