Add watchtower/docker-compose.yml

This commit is contained in:
2025-11-15 02:41:15 +00:00
parent d488e39d98
commit be1f6fcf84
+11
View File
@@ -0,0 +1,11 @@
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WATCHTOWER_POLL_INTERVAL=300 # Check for updates every 300 seconds (5 minutes)
# - WATCHTOWER_CLEANUP=true # Uncomment to remove old images after updates
# - WATCHTOWER_NOTIFICATION_URL=shoutrrr://<your_notification_service_url> # Example for notifications
restart: unless-stopped