commit 182ef64c1f6c0d0ae5cca192749587228af5b4a7 Author: Matt Speer Date: Mon May 26 19:53:51 2025 -0500 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..fdffe84 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Watchtower + +## Description + +Watchtower is an automated Docker container updater that monitors running containers and updates them whenever new images are available. It simplifies container management by pulling the latest image versions and seamlessly restarting containers with minimal downtime. This tool is ideal for maintaining up-to-date applications in Docker environments. \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..af48a05 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,12 @@ +version: "2.1" +services: + watchtower: + image: containrrr/watchtower + container_name: watchtower + restart: always + volumes: + - /var/run/docker.sock:/var/run/docker.sock + environment: + - TZ=America/Chicago + - WATCHTOWER_CLEANUP=true + - WATCHTOWER_POLL_INTERVAL=3600 \ No newline at end of file