This repository was archived by the owner on Dec 17, 2025. It is now read-only.
-
|
This is the docker-compose file I'm using : However, I'm receiving no notifications when a container updates. Docker logs is showing : |
Beta Was this translation helpful? Give feedback.
Answered by
piksel
Mar 27, 2022
Replies: 1 comment 1 reply
-
|
You are missing the 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_NOTIFICATION_EMAIL_SERVER_USER=xyzs-cc/mx-01
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=superSecret
- WATCHTOWER_NOTIFICATION_EMAIL_DELAY=30 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
drtech981
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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):