More Webhook support
See original GitHub issueThe current design only allows for 1 webhook endpoint to be configured (with basic authentication supported).
I’d like to extend this by allowing 1 extra environment variable to be injected WEBHOOK_ARRAY_FILE
which points to a JSON file with data that looks like below:
[
{
"WEBHOOK_URL": "https://webhook_dev.example.com"
},
{
"WEBHOOK_URL": "https://webhook_test.example.com",
"WEBHOOK_USERNAME": "myhookuser",
"WEBHOOK_PASSWORD": "mylongandsupersecurehookpassword"
}
]
This file can be mounted onto the docker container and the path passed in via WEBHOOK_ARRAY_FILE
. The existing functionality will not be broken and users can now add multiple webhook endpoints when secrets are updated.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (7 by maintainers)
Top Results From Across the Web
What are webhooks? - Zapier
You might have seen webhooks mentioned in your apps' settings and wondered if ... the same general idea works in most other apps...
Read more >Best practices for using webhooks | Stripe Documentation
Webhooks provide a powerful method to track the state of transactions and to take actions within your Stripe account. Review these best practices...
Read more >What are Webhooks and Why You Can't Afford to Ignore Them
A plain English explanation with real-world examples about how webhooks work, how they can save you the headaches, and why you must get ......
Read more >Webhooks App Help Docs | Integromat Help Center
Once you create a webhook, you can use it in more than one scenario at the same time. Each scenario may contain different...
Read more >About webhooks - GitHub Docs
Learn the basics of how webhooks work to help you build and set up ... the webhook will be sent each time one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh, hah. I raised the concerns, right. Let me re-evaluate my thoughts there.
Indeed @egeland I don’t! - Happy for you to take over this PR if you’re keen 😃