From 182ef64c1f6c0d0ae5cca192749587228af5b4a7 Mon Sep 17 00:00:00 2001 From: Matt Speer Date: Mon, 26 May 2025 19:53:51 -0500 Subject: [PATCH] Initial commit --- README.md | 5 +++++ docker-compose.yaml | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 README.md create mode 100644 docker-compose.yaml 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