diff --git a/watchtower/docker-compose.yml b/watchtower/docker-compose.yml new file mode 100644 index 0000000..8057a35 --- /dev/null +++ b/watchtower/docker-compose.yml @@ -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:// # Example for notifications + restart: unless-stopped