Files
docker/portainer/portainer_data/compose/4/docker-compose.yml
2025-09-12 21:34:37 +02:00

19 lines
753 B
YAML

services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: always
environment:
WATCHTOWER_SCHEDULE: "0 0 1 * * *"
TZ: Europe/Oslo
WATCHTOWER_CLEANUP: "true"
# WATCHTOWER_DEBUG: "true"
# WATCHTOWER_NOTIFICATIONS: "email"
# WATCHTOWER_NOTIFICATION_EMAIL_FROM: "cldocker01@cloud.local"
# WATCHTOWER_NOTIFICATION_EMAIL_TO: "pushover@mailrise.xyz"
# # you have to use a network alias here, if you use your own certificate
# WATCHTOWER_NOTIFICATION_EMAIL_SERVER: "10.1.149.19"
# WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: "8025"
# WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2
volumes:
- /var/run/docker.sock:/var/run/docker.sock