Companion for docker-image-watcher for configuring observations
195
This little docker image is responsible for putting observations to a running docker-image-watcher instance. Therefor it reads ENV-Variables and interpret them as observations.
You need a running docker-image-watcher instance. See docker-image-watcher documentation
After that you can start a container like this:
docker run \
--link docker-image-watcher \
-e OBSERVATION_0_IMAGE=alpine \
-e OBSERVATION_0_TRIGGER_NAME=myTrigger \
-e OBSERVATION_0_TRIGGER_URL=http://example.org/myTrigger \
rainu/docker-image-watcher-companion
Or see the docker-compose for example
| ENV-Variable | Default-Value | required | Description |
|---|---|---|---|
| ENDPOINT | http://docker-image-watcher:8080 | false | The endpoint to the docker-image-watcher instance |
| OBSERVATION_N_REGISTRY | docker.io | false | The registry of the image which you want observe |
| OBSERVATION_N_IMAGE | - | true | The name of the image which you want to observe |
| OBSERVATION_N_TAG | latest | false | The tag of the image which you want to observe |
| OBSERVATION_N_TRIGGER_NAME | observation_N | true | The name of the trigger which should be called after the watched image will changed |
| OBSERVATION_N_TRIGGER_METHOD | GET | false | The http-method of the trigger which should be called after the watched image will changed |
| OBSERVATION_N_TRIGGER_URL | - | true | The url of the trigger which should be called after the watched image will changed |
| OBSERVATION_N_TRIGGER_HEADER_KEY | - | false | The headers (KEY is the name of the HEADER) of the trigger which should be called after the watched image will changed |
Distributed under the MIT license. See LICENSE for more information.
git checkout -b feature/fooBar)git commit -am 'Add some fooBar')git push origin feature/fooBar)Content type
Image
Digest
Size
24.6 MB
Last updated
over 7 years ago
docker pull rainu/docker-image-watcher-companion