question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More Webhook support

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ryan-lanecommented, Apr 12, 2019

Oh, hah. I raised the concerns, right. Let me re-evaluate my thoughts there.

0reactions
edify42commented, Aug 11, 2020

Indeed @egeland I don’t! - Happy for you to take over this PR if you’re keen 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found