Commit Graph

3 Commits (bde421be0d16ef2d973438ba3a9160a5a8d83f5b)

Author SHA1 Message Date
Victor Moura 0217e116c4
Watchtower HTTP API based updates (#432)
* Added HTTP API trigger to update running images

* Adds HTTP API authentication token parameter and handling

* Exposes port 8080 in Dockerfile to allow inter-container update triggering via HTTP API

* Fixes codacy issue

* Adds API usage doc

* Fix grammar

* Moves api logic to a package of its own

* Makes WT exit if token has not been set in HTTP API mode

* Adds lock to prevent concurrent updates when in HTTP API mode

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
5 years ago
Victor Moura a896585ff5 Merge branch 'master' of https://github.com/containrrr/watchtower into feature/430 5 years ago
Victor Moura 503d693377 Moved dockerfiles to an exclusive folder 5 years ago