Files
arcane-registry/docker-templates/watchtower/docker-compose.yml
2026-03-17 17:29:50 -04:00

29 lines
872 B
YAML

services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: unless-stopped
networks:
- homelab-network
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DOCKER_API_VERSION=1.52
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_RESTARTING=true
- WATCHTOWER_SCHEDULE=0 0 4 * * * # 4 AM daily
- WATCHTOWER_NOTIFICATIONS=shoutrrr
# - WATCHTOWER_NOTIFICATION_URL=${WATCHTOWER_NOTIFICATION_URL}
labels:
- com.getarcaneapp.arcane.icon=https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/watchtower.svg
- 'homelab.category=infrastructure'
- 'homelab.description=Automatic Docker container updates'
networks:
homelab-network:
external: true
x-arcane:
icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/watchtower.svg