a lightweight incoming webhook server to run shell commands
  • Dockerfile 78.2%
  • Shell 21.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-05-19 13:36:30 +03:00
.github/workflows prep mods 2020-10-08 13:38:12 +02:00
root up 2024-05-19 13:36:30 +03:00
.dockerignore add yaml config type 2024-05-19 13:09:35 +03:00
build.sh up 2024-05-19 13:19:20 +03:00
Dockerfile add build.sh 2024-05-19 12:47:47 +03:00
LICENSE alpine 3.19 2024-05-19 12:43:10 +03:00
README.md readme update 2024-05-19 13:13:18 +03:00

coralhl/webhook-docker

---
services:
  webhook:
    image: coralhl/webhook
    container_name: webhook
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Moscow
      - EXTRA_PARAM=-hotreload #optional
      - CONF_TYPE=yaml
      # - CONF_TYPE=json
    volumes:
      - /path/to/config:/config
    ports:
      - 9000:9000

You can choose which type of configuration to use by setting the environment variable CONF_TYPE. If it is not specified, the json type will be used.

There is a default webhook configured in /config/hooks/hooks.json and /config/hooks/hooks.yaml.

EXTRA_PARAM is passed along to the application on startup, you use this to set additional cli arguments.