Files
homelab-optimized/hosts/synology/calypso/watchtower.yaml
Gitea Mirror Bot a31121a394
Some checks failed
Documentation / Build Docusaurus (push) Failing after 9s
Documentation / Deploy to GitHub Pages (push) Has been skipped
Sanitized mirror from private repository - 2026-03-02 21:17:14 UTC
2026-03-02 21:17:14 +00:00

34 lines
1022 B
YAML

# Watchtower - Container Auto-Updater for Calypso
# Schedule: Daily at 4:00 AM PST
# HTTP API: Available for metrics and status (not updates)
version: '3.8'
services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
ports:
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
# Core functionality
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_RESTARTING=true
- WATCHTOWER_INCLUDE_STOPPED=true
- WATCHTOWER_REVIVE_STOPPED=false
- WATCHTOWER_TIMEOUT=10s
- TZ=America/Los_Angeles
# Scheduling - Run daily at 4:00 AM
- WATCHTOWER_SCHEDULE=0 0 4 * * *
# HTTP API for metrics only (not updates to allow scheduled runs)
- WATCHTOWER_HTTP_API_METRICS=true
- WATCHTOWER_HTTP_API_TOKEN="REDACTED_HTTP_TOKEN"
restart: unless-stopped
labels:
# Exclude watchtower from updating itself
- "com.centurylinklabs.watchtower.enable=false"