Sanitized mirror from private repository - 2026-03-07 08:33:21 UTC
This commit is contained in:
34
hosts/synology/calypso/watchtower.yaml
Normal file
34
hosts/synology/calypso/watchtower.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user