Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
Discussion options

You must be logged in to vote

You are missing the environment: key, and I would remove the spaces between = and the value (I think it might work with the spaces, but I haven't tested it):

version: "3"
services:
  watchtower:
    image: containrrr/watchtower
    container_name: watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - WATCHTOWER_LABEL_ENABLE=true
      - WATCHTOWER_NOTIFICATIONS=email
      - WATCHTOWER_NOTIFICATION_EMAIL_FROM=watchtower-m01@services.xyzs.cc 
      - WATCHTOWER_NOTIFICATION_EMAIL_TO=admin@@xyzs.cc
      - WATCHTOWER_NOTIFICATION_EMAIL_SERVER=mail.services.xyzs.cc 
      - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=25   
      - WATCHTOWER_NOTIFIC…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@drtech981
Comment options

Answer selected by drtech981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants