mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 13:46:38 +01:00
Post update time out (#1124)
* adding post update timeout option * removing extra word
This commit is contained in:
parent
782529ddbd
commit
b4a225c8bb
5 changed files with 41 additions and 4 deletions
|
|
@ -54,11 +54,11 @@ the `docker run` command line:
|
|||
The timeout for all lifecycle commands is 60 seconds. After that, a timeout will
|
||||
occur, forcing Watchtower to continue the update loop.
|
||||
|
||||
#### Pre-update timeouts
|
||||
#### Pre- or Post-update timeouts
|
||||
|
||||
For the `pre-update` lifecycle command, it is possible to override this timeout to
|
||||
For the `pre-update` or `post-update` lifecycle command, it is possible to override this timeout to
|
||||
allow the script to finish before forcefully killing it. This is done by adding the
|
||||
label `com.centurylinklabs.watchtower.lifecycle.pre-update-timeout` followed by
|
||||
label `com.centurylinklabs.watchtower.lifecycle.pre-update-timeout` or post-update-timeout respectively followed by
|
||||
the timeout expressed in minutes.
|
||||
|
||||
If the label value is explicitly set to `0`, the timeout will be disabled.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue