Ā
Brought to you by
FirePress.orgā |
play-with-ghostā |
GitHubā |
Twitterā
Ā
The simplest usage of webhook image is for one to host the hooks JSON file on their machine and mount the directory in which those are kept as a volume to the Docker container.
docker run -d -p 9000:9000 -v /dir/to/hooks/on/host:/etc/webhook --name=webhook \
almir/webhook -verbose -hooks=/etc/webhook/hooks.json -hotreload
Another method of using this Docker image is to create a simple Dockerfile:
FROM almir/webhook
COPY hooks.json.example /etc/webhook/hooks.json
This Dockerfile and hooks.json.example files should be placed inside the same directory. After that run docker build -t my-webhook-image . and then start your container:
docker run -d -p 9000:9000 --name=webhook my-webhook-image -verbose -hooks=/etc/webhook/hooks.json -hotreload
Additionally, one can specify the parameters to be passed to webhookā in Dockerfile simply by adding one more line to the previous example:
FROM almir/webhook
COPY hooks.json.example /etc/webhook/hooks.json
CMD ["-verbose", "-hooks=/etc/webhook/hooks.json", "-hotreload"]
Now, after building your Docker image with docker build -t my-webhook-image ., you can start your container by running just:
docker run -d -p 9000:9000 --name=webhook my-webhook-image
Always check on docker hub the most recent build:
https://hub.docker.com/r/devmtl/webhook/tagsā
You should use this tag format in production.
${VERSION} _ ${DATE} _ ${HASH-COMMIT}
devmtl/webhook:2.6.9_2019-08-29_23H00s56_a54f96b
These tags are also available to try stuff quickly:
devmtl/webhook:2.6.9
devmtl/webhook:stable
devmtl/webhook:latest
If you are looking for an alternative to WordPress, Ghostā might be the CMS you are looking for. Check out our hosting plansā .

Our missionā is to empower freelancers and small organizations to build an outstanding mobile-first website.
Because we believe your website should speak up in your name, we consider our mission completed once your site has become your impresario.
Find me on Twitter @askpascalandyā .
ā The FirePress Teamā š„š°
The power of communities pull request and forks means that 1 + 1 = 3. You can help to make this repo a better one! Here is how:
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featureCheck this post for more details: Contributing to our Github projectā . Also, by contributing you agree to the Contributor Code of Conduct on GitHubā .
Content type
Image
Digest
Size
9.2 MB
Last updated
almost 6 years ago
docker pull devmtl/webhook