Dockerized version of webhook (https://github.com/adnanh/webhook) based on docker-cli.
371
This repository contains an up-to-date version of the dockerized version of the webhook package, built on top of the official Docker image for amd64, arm/v7 and arm64/v8.
This setup allows direct access to the Docker host, providing a streamlined and efficient way to manage webhooks. Given that the existing instructions were outdated, this repository offers a more up-to-date (as of 2026 June) solution.
services:
webhook-om:
image: obermotz/webhook-om:latest
container_name: webhook-om
command: -verbose -hooks=/etc/webhook/hooks.json -hotreload
ports:
- "9000:9000"
volumes:
- ./webhook-om/config:/etc/webhook
- ./webhook-om/scripts:/opt/scripts
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
docker run -d -p 9000:9000 --name=webhook \
-v ./webhook-om/config:/etc/webhook \
-v ./webhook-om/scripts:/opt/scripts \
-v /var/run/docker.sock:/var/run/docker.sock \
obermotz/webhook-om -verbose -hooks=/etc/webhook/hooks.json -hotreload
This Docker image allows you to manage and deploy webhooks. For detailed instructions on configuring and using the webhook package, refer to the original documentation.
FROM golang:alpine AS build
LABEL org.opencontainers.image.authors="[email protected]"
WORKDIR /go/src/github.com/adnanh/webhook
ENV WEBHOOK_VERSION=2.8.3
RUN apk add --update -t build-deps curl libc-dev gcc libgcc
RUN curl -L --silent -o webhook.tar.gz https://github.com/adnanh/webhook/archive/${WEBHOOK_VERSION}.tar.gz && \
tar -xzf webhook.tar.gz --strip 1
RUN go get -d -v
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /usr/local/bin/webhook
FROM docker:dind
COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook
WORKDIR /etc/webhook
VOLUME ["/etc/webhook"]
EXPOSE 9000
ENTRYPOINT ["/usr/local/bin/webhook"]
[
{
"id": "frgnotify-off",
"execute-command": "/usr/local/bin/docker",
"pass-arguments-to-command":
[
{
"source": "string",
"name": "stop"
},
{
"source": "string",
"name": "frigate-notify"
}
]
},
{
"id": "frgnotify-on",
"execute-command": "/usr/local/bin/docker",
"pass-arguments-to-command":
[
{
"source": "string",
"name": "start"
},
{
"source": "string",
"name": "frigate-notify"
}
]
}
]
Content type
Image
Digest
sha256:044519708…
Size
129 MB
Last updated
28 days ago
docker pull obermotz/webhook-om