{"id":16495411,"url":"https://github.com/lorenzck/docker-webhook-dispatcher","last_synced_at":"2026-05-09T07:37:15.603Z","repository":{"id":98088118,"uuid":"170676896","full_name":"LorenzCK/docker-webhook-dispatcher","owner":"LorenzCK","description":"Webhook dispatcher container that runs shell scripts. 🐳","archived":false,"fork":false,"pushed_at":"2019-02-18T21:57:38.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-29T06:37:00.546Z","etag":null,"topics":["docker-container","docker-image","webhook"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LorenzCK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-14T10:56:17.000Z","updated_at":"2019-02-18T21:57:39.000Z","dependencies_parsed_at":"2023-05-23T15:00:36.530Z","dependency_job_id":null,"html_url":"https://github.com/LorenzCK/docker-webhook-dispatcher","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LorenzCK/docker-webhook-dispatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2Fdocker-webhook-dispatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2Fdocker-webhook-dispatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2Fdocker-webhook-dispatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2Fdocker-webhook-dispatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LorenzCK","download_url":"https://codeload.github.com/LorenzCK/docker-webhook-dispatcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2Fdocker-webhook-dispatcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32811655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-container","docker-image","webhook"],"created_at":"2024-10-11T14:29:32.297Z","updated_at":"2026-05-09T07:37:15.598Z","avatar_url":"https://github.com/LorenzCK.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Webhook Dispatcher\n\n![Docker Hub pulls](https://img.shields.io/docker/pulls/lorenzck/webhook-dispatcher.svg?style=flat)\n\nSimple Web service container that handles GitHub Web hooks and executes commands.\n\nDocker, docker-compose, make and bash are included, allowing you to run scripts or interact with your containers in response to your Webhooks.\n\n## Usage\n\nThe container includes a Node server that responds at any HTTP path on port `8080`.\nIt is intended to be used behind an HTTP proxy.\n\nFor instance, with Nginx as a proxy:\n\n```\nlocation /webhook {\n    proxy_pass http://webhook-dispatcher-host:8080/;\n}\n```\n\nThe following environment variables are used by the container:\n\n* `WEBHOOK_DISPATCHER_HOST`: host on which to listen (defaults to *0.0.0.0*),\n* `WEBHOOK_DISPATCHER_PORT`: port on which to listen (defaults to *8080*),\n* `WEBHOOK_DISPATCHER_SECRET`: secret string used to sign GitHub Webhook requests.\n  *Note: if this variable is not set, the container will not validate requests.*\n\n## Hook scripts\n\nThe container supports 2\u0026nbsp;ways of specifying Web hook scripts:\nusing scripts in a directory or\nusing environment variables.\n\n### Script directory\n\nDirectory `/app/hooks` is automatically used to load Web hook scripts:\nevery `.sh` file is loaded and filenames are used to map to repository IDs and Webhook events.\n\nFor instance:\n\n* `123456.sh`: executed for every GitHub Webhook event for repository #123456,\n* `123456-push.sh`: executed for *push* events on repository #123456.\n\n### Environment variables\n\nVariables starting with `HOOK_` are loaded and parsed using the same rules as filenames above.\n\nFor instance:\n\n* `HOOK_123456=command`: executed for every event on repository #123456,\n* `HOOK_123456_PUSH=command`: executed for *push* events on repository #123456.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzck%2Fdocker-webhook-dispatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Florenzck%2Fdocker-webhook-dispatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzck%2Fdocker-webhook-dispatcher/lists"}