aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 8fb72f5..0600e11 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -76,4 +76,10 @@ services:
# --host=unix:///var/run/docker.sock --host=unix:///var/run/docker-watchtower/docker.sock
- /var/run/docker-watchtower:/var/run/docker-watchtower
- /root/.docker/config.json:/config.json
- command: --label-enable --host unix:///var/run/docker-watchtower/docker.sock
+ command:
+ - --label-enable
+ - --cleanup
+ - --schedule
+ - "0 0 * * * *"
+ - --host
+ - unix:///var/run/docker-watchtower/docker.sock