Commit Graph

138 Commits (dependabot/go_modules/github.com/docker/cli-26.0.0incompatible)

Author SHA1 Message Date
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
3 years ago
zenjabba 4e7b1e78dc
Update index.md (#976)
Fix up formatting for docker-compose.yml
4 years ago
nils måsén 61b715abec
docs: remove stray paragraph in notifications (#949)
* docs: remove stray paragraph in notifications

fixes #946

* docs: add the lost paragraph to own page
4 years ago
DasSkelett 6b155a111a
Allow running periodic updates with enabled HTTP API (#916)
* Allow running periodic updates with enabled HTTP API

* Add --http-api-periodic-polls to docs
4 years ago
nils måsén e308521a95
docs: fix more auto-format casualties (#943) 4 years ago
nils måsén 26dbc64b35
Documentation updates (#936)
* Update private-registries.md

* docs: fix codecov branch

* docs: clarify monitor and add head fail warning

* docs: remove unsupported features

* docs: add date format note and fix typo

* docs: 🌈

* docs: fix auto-format errors and linting

* docs: fix auto-format errors and linting
4 years ago
nils måsén 62a6d31880
docs: suggest mounting localtime, not of timezone (#877) 4 years ago
Reinout van Rees 45168e8515
Doc fix: default interval is 24h instead of 5m (#856)
Probably due to the docker hub rate limiting, the default interval was changed from 5 minutes to 24 hours.
It is mentioned in the documentation for `--interval`, but not yet here :-)
4 years ago
Flavio Maria De Stefano 70c737cebd
Typo in --http-api (#841) 4 years ago
Lion - dapplion f10b4e3492
Update HTTP API docs (#827) 4 years ago
Thomas Gaudin a5b200e033
Fix arguments doc formatting (#782) 4 years ago
Srihari Thalla d60c0d6b57
chore: fix badge url for contributors and docker pulls (#774) 4 years ago
Srihari Thalla bfd57c7180
chore: Update Badges on Docs (#764) 4 years ago
Simon Aronsson 99eaf42de0
fix doc typo 4 years ago
ilike2burnthing e230967196
Add WATCHTOWER_INCLUDE_RESTARTING env for include-restarting flag (#720) 4 years ago
Jeroen Roos 847261c2ca
Added a link to HTTP API documentation (#734)
Co-authored-by: Jeroen Roos <gitlab@zoph.org>
4 years ago
Simon Aronsson d7d5b25882
Prometheus support (#450)
Co-authored-by: nils måsén <nils@piksel.se>
Co-authored-by: MihailITPlace <ya.halo-halo@yandex.ru>
Co-authored-by: Sebastiaan Tammer <sebastiaantammer@gmail.com>
4 years ago
nils måsén 9b998fb751
Fix syntax highlight and typo in docs (#712) 4 years ago
nils måsén 8c9545b336
documentation theme updates (#713)
Co-authored-by: Zois Pagoulatos <zpagoulatos@hotmail.com>
4 years ago
Simon Aronsson cb62b16369
add http head based digest comparison to avoid dockerhub rate limits 4 years ago
ksurl 589b00bbe1
fix host flag (#685) 4 years ago
Chander Ganesan 16a79d95b5
Update to improve the private registry docs (#633)
* Update to improve the private registry docs

* minor adjustments

I know it's totally OK to enumerate a list using the same number in markdown, but for the sake of people reading the raw docs, I'd still like them to be numbered.
Also removed a superfluous `version: 3` and made sure all other versions were set to `"3.4"`.

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
David H bde421be0d
Monitor-only for individual containers (#652)
* Add monitor-only label

* Add tests for monitor-only

* Treat missing monitor-only label as if the option was set to false

* Add docs for container-based monitor-only

* Add function doc

* Fix monitor-only logic
4 years ago
bugficks 158b6935d4
Disabling color through environment variables (#598)
* This patch adds support for disabling color through environment variables.
- NO_COLOR: https://no-color.org/
- CLICOLOR,CLICOLOR_FORCE: https://bixense.com/clicolors/ ( [logrus built-in](6699a89a23/text_formatter.go (L46)) )

* use viper/cobra and add documentation. (https://github.com/containrrr/watchtower/pull/598#pullrequestreview-463814669)

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
Ben Osheroff c56e0a95a7
Rolling restart (#619)
* implement rolling restart functionality

bouncing each image individually can ensure that a group of docker
containers launched with docker-compose can stay 100% up during deploy.

* move rolling restart into a function

* honor params.Cleanup

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
4 years ago
Victor Moura 6a18ee911e
Adds scopeUID config to enable multiple instances of Watchtower (#511)
* Adds scopeUID config to enable multiple instances of Watchtower

* Adds tests for multiple instance support with scopeuid

* Adds docs on scope monitoring and multiple instance support

* Adds multiple instances docs to mkdocs config file

* Changes multiple instances check and refactors naming for scope feature

* Applies linter suggestions

* Fixes documentation on Watchtower monitoring scope
4 years ago
D. Domig d40a88fd02
docs: fix environment variable name typo (#606) 4 years ago
nils måsén d0f3ea3683
docs: document DOCKER_CONFIG environment variable (#602) 4 years ago
bugficks 46d4d846b5
Update private-registries.md (#597)
Fix gcloud username and example
4 years ago
Sebastiaan Tammer 12d323354f
Allows flags containing sensitive stuff to be passed as files (#545)
* Allows options containing sensitive stuff (passwords, tokens) to be passed as a file instead

* Fixed linter error, added tests, removed notification-url (due to being an array)
5 years ago
Matt Doran b436c0462d
Notification docs: Add SMTP port to gmail configuration (#573)
The notification shows an example of how to get it working for gmail smtp servers, but it's missing the port parameter required to get the SMTP connection working.

Without this setting, you get a "connection refused" connecting to port 25.

Given the popularity of gmail, it would be nice to have this example more accurate.
5 years ago
Sebastiaan Tammer 9e7dfe7be4
`config.json` symlink workaround described (#566) 5 years ago
Pierre Grimaud bd9246b4d0
Fix typos (#554) 5 years ago
Sebastiaan Tammer dccdf708a9
Adds the option to skip TLS verification for a Gotify instance (#544) 5 years ago
Arne Jørgensen 10fd81a2c1
feat: add template support for shoutrrr notifications (#515) 5 years ago
Sebastiaan Tammer 7052346570
Added --trace flag and new log.Trace() lines for sensitive information (#541) 5 years ago
Miosame a4441daba9
Add blacklist behavior description (#540) 5 years ago
Oliver Mueller 9b58ac759e
added documentation using an SMTP relay to #508 (#527) 5 years ago
Valentine Zavadsky b32cb5d35d
Add ability to overrider depending containers with special label (#489)
* Add ability to overrider depending containers with special label

* Add documentation of how to override container dependencies with special label
5 years ago
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
PatSki123 a86ec363f5
Typo Correction (#503)
Fixed typo under "Without sending a startup message" section.
5 years ago
Simon Aronsson cb4c58f714
Merge pull request #470 from mbrandau/add-shoutrrr
WIP: add shoutrrr support
5 years ago
nils måsén 2381c279f4
docs: update cron docs link
Update the robfig/cron documentation link which currently points to the v3 version and not the v1 version that watchtower uses
5 years ago
Maximilian Brandau 21e8799ce3
Update documentation 5 years ago
Simon Aronsson 90ef4022f7 add additional note on gcloud credentials 5 years ago
Simon Aronsson ec5bfb83bd
Merge pull request #483 from sixcorners/patch-2
Copy note about setting both interval and schedule
5 years ago
Simon Aronsson 1d1c630f7a feat: add timeout override for pre-update lifecycle hook 5 years ago
Simon Aronsson 52a8bd3bd2
Update arguments.md 5 years ago
Andrew ce459635a5
Update arguments.md
Add clarity to --monitor-only, information on alternative timezone setting method.
5 years ago
sixcorners 638c697dec
Copy note about setting both interval and schedule 5 years ago
Simon Aronsson 7542a247d8
Update container-selection.md 5 years ago
Simon Aronsson 0462c30bfb
clarify container selection 5 years ago
Oliver Cervera 5a9459c166
Time Zone improvements (#471)
Clarify where to find values for Time Zones
5 years ago
Oliver Cervera 82640959d4
Start up notification (#473)
Add section regarding the ability to disable start up notification
5 years ago
Maximilian Brandau b5df48279c
Adjust documentation 5 years ago
Maximilian Brandau 59ce378a35
Adjust flags 5 years ago
Maximilian Brandau be2376a4e1
add shoutrrr 5 years ago
Lukas Willburger 0b7069fc0c Fix according to remarks 5 years ago
Lukas Willburger fc3decce3a add --no-startup-message flag 5 years ago
Germs2004 ddd6ef5642
document the TZ environment variable
This adds a description of the "TZ" environment variable to the documentation so users will know it exists and works with Watchtower.  I only learned of this variable by reading the comments on issue #160.
5 years ago
Simon Aronsson a79845703c
Update private-registries.md 5 years ago
Jan Kristof Nidzwetzki 8f8da6a2f4
Update private-registries.md 5 years ago
Jan Kristof Nidzwetzki 0c3133f2d0
Documented private registries 5 years ago
Jan Nidzwetzki 1ca1e20c7c Renamed documentation file 5 years ago
Jan Nidzwetzki 893fd035dd Fixed small typo 5 years ago
Jan Kristof Nidzwetzki f28093e0ea
Update credential-helpers.md 5 years ago
Jan Nidzwetzki 35be6ce37f Changed codeblock language 5 years ago
Jan Nidzwetzki 3b8305985f Added full path to config file 5 years ago
Jan Nidzwetzki 0784aa5e49 Fixed wrong filename in documentation 5 years ago
Simon Aronsson 9389e8f34f
update instruction on multiple notifications
closes #412
5 years ago
Simon Aronsson 68a6903685
Update notifications.md 5 years ago
Simon Aronsson ac581621ae
Merge pull request #404 from pjknkda/master
docs: add missing description for arguments
5 years ago
Simon Aronsson 2a6e296838
Added Mail Subject Tag to email.go (#389)
* Update email.go

Added SubjectTag as variable

* Update email.go

* Update email.go

* Update email.go

* Update flags.go

* Update flags.go
5 years ago
Simon Aronsson 8b2eda7bdf
Update notifications.md 5 years ago
Zois Pagoulatos 2d8507ca31 Add --revive-stopped flag to start stopped containers after an update (#403)
* Add --revive-stopped flag to start stopped containers after an update

* Update arguments.md
5 years ago
Jungkook Park d53eed08cd docs: add missing arguments
* add a missing argument --no--restart
* add a missing env variable name for argument --debug
5 years ago
foxbit19 81540bcb59 Insert nota bene about docker-compose into notification doc page (#392) 5 years ago
Niklas Wigertz Danielsson 135467dcf6 add pre/post update check lifecycle hooks (#373)
* add pre/post update check lifecycle hooks

* update docs for lifecycle hooks

* Fix phrasing
5 years ago
Simon Aronsson ce6ba0801f feature: add optional email delay
resolves #256
5 years ago
Kaloyan Raev f820eb5b3a Add docker api version parameter (#372)
* Add docker api version parameter

* Note for minimum supported version

* Tests for EnvConfig
5 years ago
Simon Aronsson f20bdb15f7 add information on how to use credential helpers 5 years ago
Ryan Budke 573a3b3f1d Wording clarification on "Filter by enable label" (#357)
This is a super minor change, but the wording kept tripping me up, so I rephrased it.
5 years ago
Armando Lüscher 7a30fd7102 Correcting a few typos and text styling. (#359) 5 years ago
Andrey ab921407ab Fix typo in arguments docs (#355) 5 years ago
Simon Aronsson bfae38dbf8
Feat/lifecycle hooks (#351)
* feat(update): add lifecycle hooks to the update action

* fix(ci): add bash tests for lifecycle-hooks to the ci workflow

* fix(ci): move integration tests to an isolated step

* fix(ci): fix malformed all-contributors json

* fix(ci): disable automatic bash test until we figure out a reasonable way to run it in circleci
5 years ago
Luka Peschke dff16dc639 Add support for Gotify notifications (#346)
This adds support for Gotify (https://gotify.net) notifications.

Work items:

* Two flags have been added to internal/flags/flags.go:
  "notification-gotify-url" and "notification-gotify-token".

* A Gotify notification driver has been added in
  notifications/gotify.go.

* "gotify" has been added to notification driver choices in
  notifications/notifier.go.

* Docs have been updated
5 years ago
Zois Pagoulatos baf5e50051 Re-apply based on new go flags package (#336) 5 years ago
Simon Aronsson ac05caa609 also keep the original markdown docs :P~ 6 years ago