diff options
author | 2024-07-10 13:04:31 +0300 | |
---|---|---|
committer | 2024-07-10 13:04:31 +0300 | |
commit | a9e423fe8b09e98f2aca04ca0f9cf31ff4b36fe2 (patch) | |
tree | 974920f0cb6e3e6b62218e30ff91ab19c157a344 | |
parent | docker-compose: update watchtower (diff) | |
download | soko-a9e423fe8b09e98f2aca04ca0f9cf31ff4b36fe2.tar.gz soko-a9e423fe8b09e98f2aca04ca0f9cf31ff4b36fe2.tar.bz2 soko-a9e423fe8b09e98f2aca04ca0f9cf31ff4b36fe2.zip |
docker-compose: improve watchtower args
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | docker-compose.yml | 8 |
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 |