Skip to content

Mqtt support #2098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DeltaTango69 opened this issue Apr 5, 2025 · 1 comment
Open

Mqtt support #2098

DeltaTango69 opened this issue Apr 5, 2025 · 1 comment

Comments

@DeltaTango69
Copy link

Describe the bug

Gemini or chatgpt gives me following configuration for MQTT messages for example for Homeassistant.

version: '3'
services:
  watchtower:
    image: containrrr/watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - WATCHTOWER_NOTIFICATION_MQTT_ENABLE=true
      - WATCHTOWER_NOTIFICATION_MQTT_BROKER_HOST=DEINE_MQTT_BROKER_IP
      - WATCHTOWER_NOTIFICATION_MQTT_BROKER_PORT=1883 # Standard MQTT Port, ggf. anpassen
      - WATCHTOWER_NOTIFICATION_MQTT_BROKER_USERNAME=DEIN_MQTT_USERNAME # Optional
      - WATCHTOWER_NOTIFICATION_MQTT_BROKER_PASSWORD=DEIN_MQTT_PASSWORT # Optional
      - WATCHTOWER_NOTIFICATION_MQTT_TOPIC=watchtower/events
      - WATCHTOWER_NOTIFICATION_MQTT_CLIENT_ID=watchtower-$(hostname) # Optional, erzeugt eine eindeutige Client-ID
      - WATCHTOWER_NOTIFICATION_MQTT_TLS_ENABLE=false # Optional, für TLS-Verschlüsselung
      # - WATCHTOWER_NOTIFICATION_MQTT_TLS_CA_CERTS=/path/to/ca.crt # Optional, Pfad zum CA-Zertifikat
    command: deine_container_namen_oder_alle --interval 300 # Beispiel: alle 5 Minuten prüfen
    restart: unless-stopped

But I find no official support for that. Also it is not working?! Was this implemented before and not more yet?

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Mqtt support

Screenshots

No response

Environment

  • Platform
  • Architecture
  • Docker Version

Your logs

.

Additional context

No response

Copy link

github-actions bot commented Apr 5, 2025

Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant