Files
docker-infrastructure/watchtower/docker-compose.yml
T

13 lines
518 B
YAML

services:
watchtower:
image: nickfedor/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/config.json:ro
environment:
- WATCHTOWER_POLL_INTERVAL=300 # Check for updates every 300 seconds (5 minutes)
- WATCHTOWER_CLEANUP=true # Remove old images after updates
- WATCHTOWER_NOTIFICATION_URL=telegram://8585007357:AAHtiEFm30Mpg6zl_1hww-BAWPXWu9GsDB0@telegram?chats=8444709468
restart: unless-stopped