Files
watchtower/docker-compose.yaml

21 lines
624 B
YAML

services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: always
environment:
- TZ=Europe/Madrid
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_STOPPED=false
- WATCHTOWER_SCHEDULE=0 0 3 * * *
# Notificaciones (ejemplos):
# - WATCHTOWER_NOTIFICATIONS=shoutrrr
# - WATCHTOWER_NOTIFICATION_URL=telegram://token@chatid
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --label-enable
# Etiqueta tus servicios para que watchtower los actualice:
# labels:
# - "com.centurylinklabs.watchtower.enable=true"