From df598dbd3c962d08f9971b103b2f1ea79076de31 Mon Sep 17 00:00:00 2001 From: didil <1284255+didil@users.noreply.github.com> Date: Sat, 1 Feb 2025 10:38:33 +0000 Subject: [PATCH] docker docs --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1b0244..04e4e6c 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Inhooks listens to HTTP webhooks and saves the messages to Redis. A processing m The release binaries are available on the [GitHub releases](https://github.com/didil/inhooks/releases) page. To download a specific version, adjust then env vars below and run: ```shell -export INHOOKS_VERSION="0.1.9" +export INHOOKS_VERSION="0.1.11" export OS="linux" export ARCH="amd64" curl -LO https://github.com/didil/inhooks/releases/download/v${INHOOKS_VERSION}/inhooks_${INHOOKS_VERSION}_${OS}_${ARCH}.tar.gz @@ -43,8 +43,17 @@ tar -xvzf inhooks_${INHOOKS_VERSION}_${OS}_${ARCH}.tar.gz ``` ## Docker images: -The released docker images are available at: +The released docker images are available at: https://github.com/didil/inhooks/pkgs/container/inhooks +A minimal example to run the docker image: +``` +docker run -it --rm \ +-e REDIS_INHOOKS_DB_NAME=myinhooksdb \ +-e REDIS_URL=redis://:@: \ +--mount type=bind,source="$(pwd)"/inhooks.yml,target=/app/inhooks.yml,readonly \ +-p 3000:3000 \ +ghcr.io/didil/inhooks:v0.1.11 +``` ## Usage ### Inhooks config