Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker build for webhook (https://github.com/adnanh/webhook/)
Full Description

Webhook docker

A Docker container to setup a webhook.

Create a directory conf to hold hooks config and scripts.
Create hooks.json in conf directory. For instance.

[
  {
    "id": "test-webhook",
    "execute-command": "/conf/test-webhook.sh",
    "command-working-directory": "/conf",
  }
]

Also create a script in the conf directory that you've referenced in hooks.json.

From within the conf directory run docker mounting the current dir as /conf and mapping port 9000 to the host:

$ docker run -p 9000:9000 -v `pwd`:/conf -d daveoxley/webhook
Docker Pull Command
Owner
daveoxley
Source Repository

Comments (0)