Enable watchtower image cleanup after updates

This commit is contained in:
2026-02-28 14:50:11 +00:00
parent 66664a5925
commit 10d008636c
+1 -1
View File
@@ -6,6 +6,6 @@ services:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
- WATCHTOWER_POLL_INTERVAL=300 # Check for updates every 300 seconds (5 minutes) - WATCHTOWER_POLL_INTERVAL=300 # Check for updates every 300 seconds (5 minutes)
# - WATCHTOWER_CLEANUP=true # Uncomment to remove old images after updates - WATCHTOWER_CLEANUP=true # Remove old images after updates
# - WATCHTOWER_NOTIFICATION_URL=shoutrrr://<your_notification_service_url> # Example for notifications # - WATCHTOWER_NOTIFICATION_URL=shoutrrr://<your_notification_service_url> # Example for notifications
restart: unless-stopped restart: unless-stopped