Commit Graph

51 Commits

Author SHA1 Message Date
nils måsén dd54055143 feat: add support for "none" scope (#1800) 2023-10-21 20:57:58 +02:00
Rodrigo Damazio Bovendorp 623f4e67fb feat(filters): Add a flag/env to explicitly exclude containers by name (#1784) 2023-10-04 10:44:52 +02:00
Simon L d1f58c538a docs: clarify what volumes are removed when requested (#1738) 2023-09-16 21:20:55 +02:00
bugficks 8e3bde7e0b feat: add --health-check command line switch (#1725)
Co-authored-by: nils måsén <nils@piksel.se>
2023-09-16 21:10:00 +02:00
Arsène Fougerouse 79ebad0e19 feat: allow logging output to use JSON formatter (#1705)
Co-authored-by: nils måsén <nils@piksel.se>
2023-09-16 17:23:26 +02:00
jebabin 650acde015 feat: add a label take precedence argument (#1754)
Co-authored-by: nils måsén <nils@piksel.se>
2023-09-16 17:13:41 +02:00
nils måsén 1d5a8d9a4c test: check flag/docs consistency (#1770) 2023-09-16 17:04:44 +02:00
nils måsén 9f60766692 feat: enabled loading http-api-token from file (#1728) 2023-08-12 19:19:08 +02:00
Gilbert Gilb's bbbe04119c feat: add no-pull label for containers (#1574)
Co-authored-by: Nedžad Alibegović <nedzad@nedzad.dev>
Co-authored-by: nils måsén <nils@piksel.se>
2023-03-12 10:07:24 +01:00
Matthew McNeely 0fddbfb7ed feat: allow log level to be set to any level (#1345)
Co-authored-by: nils måsén <nils@piksel.se>
2022-09-17 12:12:24 +02:00
James White a1bdd268c1 Fix typo on --http-api-update environment variable and add warning note for --http-api-periodic-polls (#1195)
* Update arguments.md

Fix a typo for the environment variable to enable HTTP API mode.

* Add note about http-api-periodic-polls

--http-api-periodic-polls is a new option which isn't available currently, until a new release is made.

* Update docs/arguments.md

Co-authored-by: nils måsén <nils@piksel.se>

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
Co-authored-by: nils måsén <nils@piksel.se>
2022-01-22 17:29:20 +01:00
Mr.J d2f11850c1 docs: fix redirect link (#1146) 2021-12-01 11:33:55 +01:00
Armando Lüscher e396711ae1 docs: fix note paragraph on Arguments page (#1001) 2021-06-29 11:48:16 +02:00
nils måsén d0ecc23d72 docs: fix markdown lint issues (#995)
* fix list indents in notifications
* fix missing lang tag
* fix list indent and extra newlines
* further indentation experimentation
* fix remark lint-recommend warnings
2021-06-26 20:40:03 +02:00
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
2021-04-27 22:18:45 +02:00
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
2021-04-27 11:34:24 +02:00
nils måsén 62a6d31880 docs: suggest mounting localtime, not of timezone (#877) 2021-04-18 18:32:44 +02:00
Flavio Maria De Stefano 70c737cebd Typo in --http-api (#841) 2021-03-02 11:38:51 +01:00
Thomas Gaudin a5b200e033 Fix arguments doc formatting (#782) 2021-01-19 07:11:35 +01:00
Simon Aronsson 99eaf42de0 fix doc typo 2021-01-07 07:51:01 +01:00
ilike2burnthing e230967196 Add WATCHTOWER_INCLUDE_RESTARTING env for include-restarting flag (#720) 2021-01-06 22:34:58 +01:00
Jeroen Roos 847261c2ca Added a link to HTTP API documentation (#734)
Co-authored-by: Jeroen Roos <gitlab@zoph.org>
2021-01-06 22:30:28 +01:00
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>
2021-01-06 22:28:32 +01:00
nils måsén 9b998fb751 Fix syntax highlight and typo in docs (#712) 2020-12-20 18:24:16 +01:00
Simon Aronsson cb62b16369 add http head based digest comparison to avoid dockerhub rate limits 2020-12-06 13:21:04 +01:00
ksurl 589b00bbe1 fix host flag (#685) 2020-12-03 13:23:15 +01:00
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
2020-10-03 22:00:02 +02:00
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](https://github.com/sirupsen/logrus/blob/6699a89a232f3db797f2e280639854bbc4b89725/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>
2020-08-21 22:54:16 +02:00
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>
2020-08-21 22:35:46 +02:00
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
2020-08-21 20:13:47 +02:00
Sebastiaan Tammer 7052346570 Added --trace flag and new log.Trace() lines for sensitive information (#541) 2020-05-11 06:09:52 +02:00
Miosame a4441daba9 Add blacklist behavior description (#540) 2020-05-11 06:08:28 +02:00
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>
2020-04-20 16:17:14 +02:00
PatSki123 a86ec363f5 Typo Correction (#503)
Fixed typo under "Without sending a startup message" section.
2020-04-14 15:18:42 +02:00
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
2020-04-01 19:38:35 +02:00
Simon Aronsson ec5bfb83bd Merge pull request #483 from sixcorners/patch-2
Copy note about setting both interval and schedule
2020-03-28 19:52:24 +01:00
Simon Aronsson 52a8bd3bd2 Update arguments.md 2020-03-28 18:49:23 +01:00
Andrew ce459635a5 Update arguments.md
Add clarity to --monitor-only, information on alternative timezone setting method.
2020-03-27 14:58:57 -05:00
sixcorners 638c697dec Copy note about setting both interval and schedule 2020-03-27 07:57:04 -05:00
Oliver Cervera 5a9459c166 Time Zone improvements (#471)
Clarify where to find values for Time Zones
2020-03-27 00:00:10 +01:00
Lukas Willburger 0b7069fc0c Fix according to remarks 2020-03-22 17:16:44 +01:00
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.
2020-03-11 22:53:35 -04:00
Simon Aronsson ac581621ae Merge pull request #404 from pjknkda/master
docs: add missing description for arguments
2019-11-17 11:12:07 +01:00
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
2019-11-13 11:16:37 +01:00
Jungkook Park d53eed08cd docs: add missing arguments
* add a missing argument --no--restart
* add a missing env variable name for argument --debug
2019-11-12 07:44:53 +00:00
Kaloyan Raev f820eb5b3a Add docker api version parameter (#372)
* Add docker api version parameter

* Note for minimum supported version

* Tests for EnvConfig
2019-08-25 12:37:20 +02:00
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.
2019-08-09 16:39:51 +02:00
Armando Lüscher 7a30fd7102 Correcting a few typos and text styling. (#359) 2019-08-09 16:38:46 +02:00
Andrey ab921407ab Fix typo in arguments docs (#355) 2019-07-29 21:42:40 +02:00
Zois Pagoulatos baf5e50051 Re-apply based on new go flags package (#336) 2019-07-21 18:00:56 +02:00