A process for automating Docker container base image updates. https://containrrr.dev/watchtower/
Find a file
Amir Zarrinkafsh dc12a1ac7f
feat: allow hostname override for notifiers (#994)
* feat: allow hostname override for email notifier

As it currently stands all notifiers utilise `os.Hostname` to populate their titles/subjects.

When utilising Docker with a bridged network if you set the hostname for a container to an external DNS hostname Docker's internal DNS resolver will override said hostname for all containers within the bridged network.

This change allows a user to specify what hostname should be represented in the email notifications without having to change the `os.Hostname`.

* feat: allow custom hostname for all notifiers

* docs: adjust notification hostname flag
2021-06-24 00:29:20 +02:00
.devbots add automatic issue locking 2020-04-25 21:56:57 +02:00
.github test: fix metrics api test stability (#930) 2021-05-25 16:42:11 +02:00
cmd * feat: custom user agent (#990) 2021-06-11 19:23:00 +02:00
dockerfiles chore(ci): fix default branch in Dockerfiles (#875) 2021-04-01 19:18:36 +02:00
docs feat: allow hostname override for notifiers (#994) 2021-06-24 00:29:20 +02:00
grafana Prometheus support (#450) 2021-01-06 22:28:32 +01:00
internal feat: allow hostname override for notifiers (#994) 2021-06-24 00:29:20 +02:00
pkg feat: allow hostname override for notifiers (#994) 2021-06-24 00:29:20 +02:00
prometheus Prometheus support (#450) 2021-01-06 22:28:32 +01:00
scripts feat: make head pull failure warning toggleable (#912) 2021-04-23 16:34:21 +02:00
.all-contributorsrc docs: add zenjabba as a contributor (#983) 2021-06-07 15:45:57 +02:00
.codacy.yml exclude markdown files from coverage analysis 2019-04-17 21:44:31 +02:00
.gitignore add http head based digest comparison to avoid dockerhub rate limits 2020-12-06 13:21:04 +01:00
build.sh * feat: custom user agent (#990) 2021-06-11 19:23:00 +02:00
code_of_conduct.md Create code_of_conduct.md 2020-06-24 12:21:56 +02:00
CONTRIBUTING.md Fix typos (#554) 2020-05-29 10:59:52 +02:00
docker-compose.yml Prometheus support (#450) 2021-01-06 22:28:32 +01:00
go.mod fix: merge artifacts and broken shoutrrr tests (#929) 2021-04-24 15:42:31 +02:00
go.sum feat: update shoutrrr to v0.4.4 (#914) 2021-04-23 16:36:09 +02:00
gopher-watchtower.png add logo to repo 2020-05-01 13:13:14 +02:00
goreleaser.yml * feat: custom user agent (#990) 2021-06-11 19:23:00 +02:00
LICENSE.md Possibility to disable the TLS verify for sending mails. 2018-02-27 01:23:28 +01:00
logo.png Add files via upload 2020-06-22 19:41:09 +02:00
main.go fix: remove linting issues 2019-07-22 12:10:57 +02:00
mkdocs.yml Documentation updates (#936) 2021-04-27 11:34:24 +02:00
README.md docs: add zenjabba as a contributor (#983) 2021-06-07 15:45:57 +02:00
SECURITY.md Create SECURITY.md 2021-04-21 10:01:33 +02:00

Watchtower

A process for automating Docker container base image updates.

Circle CI codecov GoDoc Microbadger Go Report Card latest version Apache-2.0 License Codacy Badge All Contributors Pulls from DockerHub

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.dev/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

📖

Valentine Zavadsky

💻 📖 ⚠️

Alexander Voronin

💻 🐛

Oliver Mueller

📖

Sebastiaan Tammer

💻

miosame

📖

Andrew Metzger

🐛 💡

Pierre Grimaud

📖

Matt Doran

📖

MihailITPlace

💻

bugficks

💻 📖

Michael

💻

D. Domig

📖

Ben Osheroff

💻

David H.

💻

Chander Ganesan

📖

yrien30

💻

ksurl

📖 💻

rg9400

💻

Turtle Kalus

💻

Srihari Thalla

📖

Thomas Gaudin

📖

hydrargyrum

📖

Reinout van Rees

📖

DasSkelett

💻

zenjabba

📖

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