diff --git a/docs/cd.md b/docs/cd.md index 7137154..d13fa2c 100644 --- a/docs/cd.md +++ b/docs/cd.md @@ -1 +1,9 @@ -# Continuous delivery \ No newline at end of file +# Continuous delivery + +## Watchtower + +### Force Watchtower to update watching container +If pushed Code has to be deployed immediately, the Watchtower docker run param `--run-once` can be added. +```bash +sudo docker run --rm --env-file /volume2/homes/francesco/Drive/docker/watchtower/watchtower.env -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once mkdocs www +``` \ No newline at end of file