added dockerfile for watchtower

This commit is contained in:
CDaut 2023-11-27 10:29:02 +01:00
parent 5489a56afd
commit 643ea5bd88

View file

@ -0,0 +1,12 @@
version: "3"
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
WATCHTOWER_NOTIFICATION_REPORT: "true"
WATCHTOWER_NOTIFICATION_URL: NOTIFICATOION URL ACCORDING TO https://containrrr.dev/shoutrrr/v0.8/services
WATCHTOWER_NOTIFICATIONS_DELAY: 300 #required to start Notification service before sending notification
restart: unless-stopped