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: nickfedor/watchtower:latest
    environment:
      WATCHTOWER_NOTIFICATION_URL: "gotify://gotify.example.com/TOKEN"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
docker run -d \
  --name watchtower \
  -v /var/run/docker.sock:/var/run/docker.sock \
  nickfedor/watchtower \
  --notification-url "gotify://gotify.example.com/TOKEN"

Replace TOKEN with the application token from your Gotify server. Use your server's host name in place of gotify.example.com.

The following legacy Gotify configuration examples are deprecated and will be removed with the release of Watchtower v2.
services:
  watchtower:
    image: nickfedor/watchtower:latest
    environment:
      WATCHTOWER_NOTIFICATIONS: gotify
      WATCHTOWER_NOTIFICATION_GOTIFY_URL: "https://gotify.example.com/"
      WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN: "TOKEN"
      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://gotify.example.com/" \
  -e WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN="TOKEN" \
  -e WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY=true \
  nickfedor/watchtower
docker run -d \
  --name watchtower \
  -v /var/run/docker.sock:/var/run/docker.sock \
  nickfedor/watchtower \
  --notifications gotify \
  --notification-gotify-url "https://gotify.example.com/" \
  --notification-gotify-token "TOKEN" \
  --notification-gotify-tls-skip-verify