Proxies a set of user defined webhook endpoints to configured targets.
webhook-proxy
Proxies a set of user defined webhook endpoints to configured targets.
Configuration
Create a config.toml file:
listen = "0.0.0.0:8080"
[[routes]]
path = "/github"
target = "http://internal-service:8080/hooks/github"
[[routes]]
path = "/stripe"
target = "http://billing:9000/webhooks"
Docker
docker-compose.yml
services:webhook-proxy:image:git.kemitix.net/kemitix/webhook-proxy:latestports:- "8080:8080"volumes:- ./config.toml:/app/config.toml:rorestart:unless-stoppedRun with:
docker compose up -d