Created
February 26, 2024 16:34
-
-
Save csharpfritz/9a259c1703effe7dbefa3be3af9bf226 to your computer and use it in GitHub Desktop.
Docker Compose to run WatchTower
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
watchtower: | |
image: containrrr/watchtower:armhf-latest | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /jfritz/.docker/config.json:/config.json | |
command: ["--interval", "30", "--cleanup"] | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment