kemonine
/
lollipopcloud
Archived
1
0
Fork 0

Add notes on watchtower

This commit is contained in:
KemoNine 2019-03-02 02:58:24 +00:00
parent 89429f26e8
commit fbdf6a8fa4
1 changed files with 25 additions and 0 deletions

25
advanced/watchtower.md Normal file
View File

@ -0,0 +1,25 @@
# Watchtower
We haven't fully evaluated Watchtower and give it's not longer actively maintained we aren't sure if it will be 100% supported.
For those interested in giving it a shot:
``` bash
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
v2tec/watchtower
--debug
--interval 43200 # seconds -- 12 hours in this case -- 24 hours = 86400 ; 7 days = 604800
--cleanup
--label-enable # --label com.centurylinklabs.watchtower.enable=true on containers to watch
--notification-email-from
--notification-email-to
--notification-email-server
--notification-email-server-port
--notification-email-server-user
--notification-email-server-password
--notifications-level info
```