You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
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
.circleci remove dead code and goverage dependency 5 years ago
.github Update publish-dev-dockerimage.yaml 5 years ago
cmd Watchtower HTTP API based updates (#432) 5 years ago
dockerfiles Watchtower HTTP API based updates (#432) 5 years ago
docs Watchtower HTTP API based updates (#432) 5 years ago
internal Watchtower HTTP API based updates (#432) 5 years ago
pkg Watchtower HTTP API based updates (#432) 5 years ago
scripts Feat/lifecycle hooks (#351) 5 years ago
.all-contributorsrc docs: add patski123 as a contributor (#505) 5 years ago
.codacy.yml exclude markdown files from coverage analysis 6 years ago
.gitignore also keep the original markdown docs :P~ 6 years ago
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 6 years ago
CONTRIBUTING.md Adds development self-contained builds instructions to CONTRIBUTING.md 5 years ago
LICENSE.md Possibility to disable the TLS verify for sending mails. 7 years ago
README.md docs: add patski123 as a contributor (#505) 5 years ago
go.mod update shoutrrr 5 years ago
go.sum Merge pull request #470 from mbrandau/add-shoutrrr 5 years ago
goreleaser.yml Edits goreleaser to match exclusive dockerfiles folder 5 years ago
main.go fix: remove linting issues 5 years ago
mkdocs.yml Renamed documentation file 5 years ago

README.md

Watchtower

A process for automating Docker container base image updates.

Circle CI GoDoc Microbadger Go Report Card latest version Apache-2.0 License Codacy Badge Codacy Badge Join the chat at https://gitter.im/containrrr/watchtower All Contributors Pulls from DockerHub

โš ๏ธ Help needed

As I @simskij currently am the sole maintainer of watchtower, i'm finding it a bit hard to keep up with all issues and pull requests. Interested in helping out with triage, troubleshooting and issue handling? Let me know on gitter!

Quick Start

With watchtower you can update the running version of your containerized app simply by pushing a new image to the Docker Hub or your own image registry. Watchtower will pull down your new image, gracefully shut down your existing container and restart it with the same options that were used when it was deployed initially. Run the watchtower container with the following command:

$ docker run -d \
    --name watchtower \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower

Documentation

The full documentation is available at https://containrrr.github.io/watchtower.

Contributors

Thanks goes to these wonderful people (emoji key):


James

โš ๏ธ ๐Ÿค”

Florian

๐Ÿ‘€ ๐Ÿ“–

Brian DeHamer

๐Ÿ’ป ๐Ÿšง

Ross Cadogan

๐Ÿ’ป

stffabi

๐Ÿ’ป ๐Ÿšง

Austin

๐Ÿ“–

David Gardner

๐Ÿ‘€ ๐Ÿ“–

Tanguy โง“ Herrmann

๐Ÿ’ป

Rodrigo Damazio Bovendorp

๐Ÿ’ป ๐Ÿ“–

Ryan Kuba

๐Ÿš‡

cnrmck

๐Ÿ“–

Harry Walter

๐Ÿ’ป

Robotex

๐Ÿ“–

Gerald Pape

๐Ÿ“–

fomk

๐Ÿ’ป

Sven Gottwald

๐Ÿš‡

techknowlogick

๐Ÿ’ป

waja

๐Ÿ“–

Scott Albertson

๐Ÿ“–

Jason Huddleston

๐Ÿ“–

Napster

๐Ÿ’ป

Maxim

๐Ÿ’ป ๐Ÿ“–

Max Schmitt

๐Ÿ“–

cron410

๐Ÿ“–

Paulo Henrique

๐Ÿ“–

Kaleb Elwert

๐Ÿ“–

Bill Butler

๐Ÿ“–

Mario Tacke

๐Ÿ’ป

Mark Woodbridge

๐Ÿ’ป

Simon Aronsson

๐Ÿ’ป ๐Ÿšง ๐Ÿ‘€ ๐Ÿ“–

Ansem93

๐Ÿ“–

Luka Peschke

๐Ÿ’ป ๐Ÿ“–

Zois Pagoulatos

๐Ÿ’ป ๐Ÿ‘€

Alexandre Menif

๐Ÿ’ป

Andrey

๐Ÿ“–

Armando Lรผscher

๐Ÿ“–

Ryan Budke

๐Ÿ“–

Kaloyan Raev

๐Ÿ’ป โš ๏ธ

sixth

๐Ÿ“–

Gina HรคuรŸge

๐Ÿ’ป

Max H.

๐Ÿ’ป

Jungkook Park

๐Ÿ“–

Jan Kristof Nidzwetzki

๐Ÿ“–

lukas

๐Ÿ’ป

Ameya Shenoy

๐Ÿ’ป

Raymon de Looff

๐Ÿ’ป

John Clayton

๐Ÿ’ป

Germs2004

๐Ÿ“–

Lukas Willburger

๐Ÿ’ป

Oliver Cervera

๐Ÿ“–

Victor Moura

โš ๏ธ

Maximilian Brandau

๐Ÿ’ป โš ๏ธ

Andrew

๐Ÿ“–

sixcorners

๐Ÿ“–

nils mรฅsรฉn

๐Ÿ“–

Arne Jรธrgensen

โš ๏ธ ๐Ÿ‘€

PatSki123

๐Ÿ“–

This project follows the all-contributors specification. Contributions of any kind welcome!