Hi there,

Im trying to set up watchtower with gotify but nothing works. An idea where Im wrong. Also I have strange error message in whatchtower.

level=fatal msg=“Unknown notification type \“gotify\””

version: '3.9'
services:
  watchtower:
    image: storjlabs/watchtower
    container_name: watchtower
    restart: unless-stopped
    environment:
      - WATCHTOWER_NOTIFICATIONS=gotify
      - WATCHTOWER_NOTIFICATION_GOTIFY_URL=http://myserverip:9292
      - WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=token
      - WATCHTOWER_NOTIFICATION_GOTIFY_TLS_SKIP_VERIFY=true
      - TZ=America/Montreal
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    command: --stop-timeout 300s --cleanup --schedule 0 0 4 * * *

  gotify:
    image: gotify/server
    container_name: gotify
    restart: unless-stopped
    ports:
      - 9292:80
    environment:
      - TZ=America/Montreal
      - GOTIFY_DEFAULTUSER_NAME=admin
      - GOTIFY_DEFAULTUSER_PASS=admin
    volumes:
      - /volume1/docker/gotify/data:/app/data

  • ALERT
    link
    English
    110 months ago

    What’s this image you use? The official one is at containrrr/watchtower