A container running adnanh/webhook based on linuxserver.io s6 overlay based container.
4.3K
A container running webhook based on linuxserver.io s6 overlay based container.
Image hosted at: ghcr.io/jchonig/webhook
The purpose is to catch webhook posts from a git server and run g10 to build puppet environments.
docker create \
--name=webook \
-e TZ=Europe/London \
--expose 9000 \
--restart unless-stopped \
ghcr.io/jchonig/webhook
Compatible with docker-compose v2 schemas.
---
version: "3"
services:
monit:
image: ghcr.io/jchonig/webhook
container_name: webhook
environment:
TZ: Europe/London
HOOK_ARGS: "-hooks /config/hooks.json -hotreload"
volumes:
- </path/to/appdata/config>:/config
expose:
- 9000
restart: unless-stopped
| Volume | Function |
|---|---|
| 9000 | Webook port |
| Env | Function |
|---|---|
| PUID=1000 | for UserID - see below for explanation |
| PGID=1000 | for GroupID - see below for explanation |
| TZ=UTC | Specify a timezone to use EG UTC |
| HOOK_ARGS | Arguments to the webhook command |
| HOOK_SECRET | Webhook secret |
| HOOK_COMMAND | Command to run when using a git webhook |
| Volume | Function |
|---|---|
| /config | All the config files reside here |
env in
the config directory. This file is sourced by the shell.HOOK_SECRET to the shared secret.HOOK_COMMAND to the command to run when a webhook is received.HOOK_ARGS to -template -hooks /etc/webhook/githook.yaml.tmpl..ssh directory) put it there.Content type
Image
Digest
sha256:fda0c3a23…
Size
19.6 MB
Last updated
6 days ago
docker pull jchonig/webhook