Skip to content

Commit

Permalink
Decrease poll time and add cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorntonMatthewD committed Nov 21, 2023
1 parent dc58147 commit f919444
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,10 @@ services:
container_name: watchtower
profiles: ["autoupdating"]
restart: always
environment:
# Poll for image updates every 15 minutes
- WATCHTOWER_POLL_INTERVAL=900
# Cleans up orphaned images upon pulling new ones
- WATCHTOWER_CLEANUP=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock

0 comments on commit f919444

Please sign in to comment.