docker-webhook

1.1.1 • Public • Published

docker-webhook

NPM

A simple node.js library for responding to pushes to the docker registry.

Usage

Simply:

var webhook = require('docker-webhook')
webhook(function cb(json) {
  cosole.log(JSON.stringify(json,null," "))
})

Default port is 8411, and can be changed by setting the DOCKER_WEBHOOK_PORT environment variable.

Requirements

This tool requires that you have the curl cli tool installed.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i docker-webhook

    Weekly Downloads

    1

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • retrohack3r