Skip to content

Gotify Notifications

Deprecated Gotify Notification Options

The following legacy Gotify notification options are deprecated and subject to removal with the release of Watchtower v2:

Use the notification-url configuration option with a gotify:// Shoutrrr URL instead.

Overview

Watchtower can use Shoutrrr's Gotify service to send Gotify notifications.

Examples

services:
  watchtower:
    image: ghcr.io/sidneyojr/watchtower:latest
    environment:
      WATCHTOWER_NOTIFICATION_URL: "gotify://my.gotify.tld/SuperSecretToken"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
docker run -d \
  --name watchtower \
  -v /var/run/docker.sock:/var/run/docker.sock \
  ghcr.io/sidneyojr/watchtower \
  --notification-url "gotify://my.gotify.tld/SuperSecretToken"
The following legacy Gotify configuration examples are deprecated and will be removed with the release of Watchtower v2.
services:
  watchtower:
    image: ghcr.io/sidneyojr/watchtower:latest
    environment:
      WATCHTOWER_NOTIFICATIONS: gotify
      WATCHTOWER_NOTIFICATION_GOTIFY_URL: "https://my.gotify.tld/"
      WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN: "SuperSecretToken"
      WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
docker run -d \
  --name watchtower \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -e WATCHTOWER_NOTIFICATIONS=gotify \
  -e WATCHTOWER_NOTIFICATION_GOTIFY_URL="https://my.gotify.tld/" \
  -e WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN="SuperSecretToken" \
  -e WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY=true \
  ghcr.io/sidneyojr/watchtower
docker run -d \
  --name watchtower \
  -v /var/run/docker.sock:/var/run/docker.sock \
  ghcr.io/sidneyojr/watchtower \
  --notifications gotify \
  --notification-gotify-url "https://my.gotify.tld/" \
  --notification-gotify-token "SuperSecretToken" \
  --notification-gotify-tls-skip-verify