Skip to content

Commit

Permalink
docker-compose: improve watchtower args
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
arthurzam committed Jul 10, 2024
1 parent 9d083aa commit a9e423f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a9e423f

Please sign in to comment.