|
@@ -13,4 +13,8 @@ services:
|
|
|
volumes:
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
- /root/.docker/config.json:/config.json
|
|
|
- command: --interval 30
|
|
|
+ environment:
|
|
|
+ - WATCHTOWER_CLEANUP=true
|
|
|
+ - WATCHTOWER_LABEL_ENABLE=true
|
|
|
+ - WATCHTOWER_INCLUDE_RESTARTING=true
|
|
|
+ command: --interval 30
|