Commit Graph

51 Commits (097df1100008836e34f3f4de99750d981d4159b5)

Author SHA1 Message Date
nils måsén dd54055143
feat: add support for "none" scope (#1800) 1 year ago
Rodrigo Damazio Bovendorp 623f4e67fb
feat(filters): Add a flag/env to explicitly exclude containers by name (#1784) 1 year ago
Simon L d1f58c538a
docs: clarify what volumes are removed when requested (#1738) 1 year ago
bugficks 8e3bde7e0b
feat: add --health-check command line switch (#1725)
Co-authored-by: nils måsén <nils@piksel.se>
1 year ago
Arsène Fougerouse 79ebad0e19
feat: allow logging output to use JSON formatter (#1705)
Co-authored-by: nils måsén <nils@piksel.se>
1 year ago
jebabin 650acde015
feat: add a label take precedence argument (#1754)
Co-authored-by: nils måsén <nils@piksel.se>
1 year ago
nils måsén 1d5a8d9a4c
test: check flag/docs consistency (#1770) 1 year ago
nils måsén 9f60766692
feat: enabled loading http-api-token from file (#1728) 1 year ago
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>
2 years ago
Matthew McNeely 0fddbfb7ed
feat: allow log level to be set to any level (#1345)
Co-authored-by: nils måsén <nils@piksel.se>
2 years ago
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>
3 years ago
Mr.J d2f11850c1
docs: fix redirect link (#1146) 3 years ago
Armando Lüscher e396711ae1
docs: fix note paragraph on Arguments page (#1001) 3 years ago
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
3 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 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
Flavio Maria De Stefano 70c737cebd
Typo in --http-api (#841) 4 years ago
Thomas Gaudin a5b200e033
Fix arguments doc formatting (#782) 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
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
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
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
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
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
Simon Aronsson ec5bfb83bd
Merge pull request #483 from sixcorners/patch-2
Copy note about setting both interval and schedule
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
Oliver Cervera 5a9459c166
Time Zone improvements (#471)
Clarify where to find values for Time Zones
5 years ago
Lukas Willburger 0b7069fc0c Fix according to remarks 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 ac581621ae
Merge pull request #404 from pjknkda/master
docs: add missing description for arguments
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
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
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
Zois Pagoulatos baf5e50051 Re-apply based on new go flags package (#336) 5 years ago