Add watchtower.md
This commit is contained in:
19
watchtower.md
Normal file
19
watchtower.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
### Watch tower run command
|
||||||
|
docker run -d \
|
||||||
|
--name watchtower \
|
||||||
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
-v $HOME/.docker/config.json:/config.json \
|
||||||
|
-e WATCHTOWER_SCHEDULE="0 0 4 * *" \
|
||||||
|
-e WATCHTOWER_CLEANUP=true \
|
||||||
|
-e WATCHTOWER_INCLUDE_STOPPED=false \
|
||||||
|
-e PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \
|
||||||
|
-e TZ="Australia/Brisbane" \
|
||||||
|
-e WATCHTOWER_NOTIFICATIONS=shoutrrr \
|
||||||
|
-e WATCHTOWER_NOTIFICATION_URL="discord://VBZXAOOHzW3SmGmAmvtGXHJeaJSQ_zHwpTC9wx0LWUvVCaoTOAliMO7x6yfXdLHQWUGM@<channel_id> generic://webhooktoolbox.com/api/webhooks/EZdad6tCb3/SQZRfgTAvx" \
|
||||||
|
-e WATCHTOWER_REVIVE_STOPPED=false \
|
||||||
|
-e WATCHTOWER_HTTP_API_METRICS=true \
|
||||||
|
-e WATCHTOWER_HTTP_API_PERIODIC_POLLS=true \
|
||||||
|
-e WATCHTOWER_HTTP_API_TOKEN=ichigo123 \
|
||||||
|
-e WATCHTOWER_HTTP_API_UPDATE=true \
|
||||||
|
-e WATCHTOWER_LOG_LEVEL=info \
|
||||||
|
containrrr/watchtower
|
||||||
Reference in New Issue
Block a user