1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-12 09:04:17 +02:00
Commit Graph

529 Commits

Author SHA1 Message Date
allcontributors[bot]
e118fd526b
docs: add dhet as a contributor (#656)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-10-03 22:00:48 +02: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
Simon Aronsson
98b518612b
Remove gitter badge 2020-09-08 12:19:35 +02:00
allcontributors[bot]
8988e96bae
docs: add bugficks as a contributor (#626)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2020-08-21 22:56:12 +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](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>
2020-08-21 22:54:16 +02:00
allcontributors[bot]
9bd3913a11
docs: add osheroff as a contributor (#624)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-08-21 22:35:57 +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
nils måsén
5efb249a86
Skip updating containers where no local image info can be retrieved (#612)
* Revert "Image of running container no longer needed locally (#571)"

This reverts commit 6da66fb312.

* Update client.go

* fix: skip updating when no image info can be retrieved

This will allow watchtower to continue even though the image info for a
container cannot be retrieved. If this happens one warning will be emitted
and the container will be skipped, unless NoRestart or OnlyMonitor is supplied
2020-08-18 20:55:35 +02:00
allcontributors[bot]
cde438996a
docs: add x-jokay as a contributor (#616)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-08-10 10:57:38 +02:00
Cédric Finance
fdecd40189
Make sure all shoutrrr notifications are sent (#564) 2020-08-08 22:55:51 +02:00
allcontributors[bot]
b8408269bb
docs: add MihailITPlace as a contributor (#614)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-08-08 18:43:37 +02:00
MihailITPlace
966972b072
Warning if WATCHTOWER_NO_PULL and WATCHTOWER_MONITOR_ONLY are used simultaneously. (#594)
* A warning was added if `WATCHTOWER_NO_PULL` and` WATCHTOWER_MONITOR_ONLY` are used simultaneously

* Update root.go

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2020-08-08 18:43:01 +02:00
allcontributors[bot]
03a929df80
docs: add MichaelSp as a contributor (#613)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-08-08 18:41:11 +02:00
Michael
f6c19896a2
lifecycle logs as Debug instead of Info (#610)
The life-cycle messages should not have the same level as the update messages.

Why?
I receive a (mail-) notification for every run even if no image is changed: 
```
2020-07-31 06:44:33 (info): Executing pre-check command.
```

But I only want to receive a notification if something changed:
```
2020-07-20 06:44:44 (info): Found new traefik:v2.2 image (sha256:7c992081f52423e325bd12debf0edcb4f7cfa398683c26f99c00112ec14e1ab9)
```
2020-08-08 18:40:23 +02:00
D. Domig
d40a88fd02
docs: fix environment variable name typo (#606) 2020-08-04 09:08:44 +02:00
Possible Triangle
f76c48a95e
Add string functions for lowercase, uppercase and capitalize to shoutrrr templates (#593)
* Added string functions for lowercase, uppercase and capitalize to shoutrrr templates

* Update pkg/notifications/shoutrrr.go

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

* Update pkg/notifications/shoutrrr.go

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

* Update pkg/notifications/shoutrrr.go

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

* Update pkg/notifications/shoutrrr_test.go

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

* escape quotation marks in test

Co-authored-by: nils måsén <nils@piksel.se>
2020-07-21 13:27:51 +02:00
nils måsén
d0f3ea3683
docs: document DOCKER_CONFIG environment variable (#602) 2020-07-16 11:35:59 +02:00
allcontributors[bot]
5020b03c64
docs: add bugficks as a contributor (#601)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-07-16 09:37:37 +02:00
bugficks
46d4d846b5
Update private-registries.md (#597)
Fix gcloud username and example
2020-07-15 19:56:01 +02:00
allcontributors[bot]
eb4e0bb615
docs: add MihailITPlace as a contributor (#589)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-07-03 15:02:20 +02:00
Simon Aronsson
fec08786d9
Create code_of_conduct.md 2020-06-24 12:21:56 +02:00
Simon Aronsson
fdb66b0d22
delete code of conduct in favor of org-wide one
see https://github.com/containrrr/.github/blob/master/CODE_OF_CONDUCT.md
2020-06-24 12:19:55 +02:00
Simon Aronsson
e93b22f486
Update README.md 2020-06-22 22:30:29 +02:00
Simon Aronsson
169c18a048
Add files via upload 2020-06-22 19:41:09 +02:00
Simon Aronsson
e381b47520
Delete logo.png 2020-06-22 19:40:55 +02:00
Simon Aronsson
54d9d4c029
Make background transparent 2020-06-22 19:40:22 +02:00
Simon Aronsson
5817231d89
Add files via upload 2020-06-22 19:38:18 +02:00
Simon Aronsson
9a0dc53c14
Update README.md 2020-06-22 19:35:57 +02:00
Simon Aronsson
47a9fc4774
Add files via upload 2020-06-22 19:35:33 +02:00
Simon Aronsson
27f74def57
Update README.md 2020-06-14 16:29:16 +02:00
Sebastiaan Tammer
21011fde73
Removed accidental dot (#578) 2020-06-13 12:51:11 +02:00
Simon Aronsson
617389d0dc
Create CODEOWNERS 2020-06-12 17:43:11 +02:00
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)
2020-06-10 12:14:47 +02:00
Sebastiaan Tammer
6da66fb312
Image of running container no longer needed locally (#571) 2020-06-10 11:34:30 +02:00
allcontributors[bot]
ac49c45648
docs: add mattdoran as a contributor (#574)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-06-10 11:24:08 +02:00
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.
2020-06-10 11:23:50 +02:00
Sebastiaan Tammer
9e7dfe7be4
config.json symlink workaround described (#566) 2020-06-02 23:44:41 +02:00
Simon Aronsson
d043c20c70
Create config.yml 2020-06-02 23:26:06 +02:00
Simon Aronsson
b472078d2c
remove issue template for questions 2020-06-02 23:25:43 +02:00
Arne Jørgensen
7787e1e5a1
Update shoutrrr to get latest and updated services (#563) 2020-06-01 21:11:33 +02:00
Simon Aronsson
f4b280acd3
Update README.md 2020-05-30 19:39:24 +02:00
Simon Aronsson
147fe5580d
Update README.md 2020-05-30 19:38:40 +02:00
Simon Aronsson
cb526682e8
Update README.md 2020-05-30 19:38:15 +02:00
Simon Aronsson
91d1e85e94
Update .all-contributorsrc 2020-05-30 19:37:09 +02:00
nils måsén
1081f3c24c
fix(shoutrrr): make shoutrrr init failure a fatal error (#561)
also writes out any (unlikely) errors from template.Execute instead of ignoring
2020-05-30 19:36:20 +02:00
Simon Aronsson
52300804d2
only run greeting on issues for the time being 2020-05-30 08:05:47 +02:00
nils måsén
70bd4e2c8b
fix(shoutrrr): display errors on init failure (#558) 2020-05-29 11:02:13 +02:00
allcontributors[bot]
86b1b0468a
docs: add pgrimaud as a contributor (#559)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-05-29 11:00:07 +02:00
Pierre Grimaud
bd9246b4d0
Fix typos (#554) 2020-05-29 10:59:52 +02:00