Sign inSign up

sroegner/watchmen

By sroegner

Updated almost 11 years ago

A CentOS container running watchmen and redis (for storage).

Image
3

1.1K

sroegner/watchmen repository overview

The container needs (and doesn't work without) an external volume (mounted to /srv/watchmen/config) with the three .js config files that the watchmen project uses. See https://github.com/iloire/WatchMen for instructions on configuration.

Example:

sudo docker run \
--volume="$(pwd)/watchmen-config:/srv/watchmen/config" \
--name=watchmen \
--publish='127.0.0.10:3000:3000/tcp' \
--detach=true \
    sroegner/watchmen

If you want to use the redis process that the container comes with for storage, your storage.js file needs to look like this:

module.exports = {
  provider : 'redis',
  options : {
    'redis' : {
      port: 6379,
      host: '127.0.0.1',
      db: 1
    }
  }
};

This container was created with the Dockerfile in https://github.com/sroegner/docker-builds/tree/master/watchmen

Tag summary

Content type

Image

Digest

sha256:42b2070c0

Size

380.7 MB

Last updated

almost 11 years ago

docker pull sroegner/watchmen