Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
However I'm now wanting to setup a webhook too. I'm tried using the Dockerised one from https://github.com/almir/docker-webhook but of course then found it can't run a script on the host machine due to security restrictions. It's based on https://github.com/adnanh/webhook so I installed that on the host machine and again it works well and is now able to run the script. However I don't want to expose the 9000 port and instead want to run it via NPM through an SSL reverse proxy - however I can't work out how to get NPM to redirect to something running on localhost on the host. If I try localhost or 127.0.0.1 it (understandably) just tried to connect to the NPM container!
However I'm now wanting to setup a webhook too. I'm tried using the Dockerised one from https://github.com/almir/docker-webhook but of course then found it can't run a script on the host machine due to security restrictions. It's based on https://github.com/adnanh/webhook so I installed that on the host machine and again it works well and is now able to run the script. However I don't want to expose the 9000 port and instead want to run it via NPM through an SSL reverse proxy - however I can't work out how to get NPM to redirect to something running on localhost on the host. If I try localhost or 127.0.0.1 it (understandably) just tried to connect to the NPM container!