Sign inSign up

rainu/docker-image-watcher-companion

By rainu

•Updated over 7 years ago

Companion for docker-image-watcher for configuring observations

Image
0

195

rainu/docker-image-watcher-companion repository overview

⁠docker image watcher companion

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.

⁠Installation

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

⁠Documentation

⁠Configuration
ENV-VariableDefault-ValuerequiredDescription
ENDPOINThttp://docker-image-watcher:8080⁠falseThe endpoint to the docker-image-watcher instance
OBSERVATION_N_REGISTRYdocker.iofalseThe registry of the image which you want observe
OBSERVATION_N_IMAGE-trueThe name of the image which you want to observe
OBSERVATION_N_TAGlatestfalseThe tag of the image which you want to observe
OBSERVATION_N_TRIGGER_NAMEobservation_NtrueThe name of the trigger which should be called after the watched image will changed
OBSERVATION_N_TRIGGER_METHODGETfalseThe http-method of the trigger which should be called after the watched image will changed
OBSERVATION_N_TRIGGER_URL-trueThe url of the trigger which should be called after the watched image will changed
OBSERVATION_N_TRIGGER_HEADER_KEY-falseThe headers (KEY is the name of the HEADER) of the trigger which should be called after the watched image will changed

⁠Release History

  • 0.0.1 The first implementation

⁠Meta

Distributed under the MIT license. See LICENSE for more information.

⁠Contributing

  1. Fork it (https://github.com/rainu/docker-image-watcher-companion/fork⁠)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Tag summary

Content type

Image

Digest

Size

24.6 MB

Last updated

over 7 years ago

docker pull rainu/docker-image-watcher-companion