29 lines
872 B
YAML
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 |