Use URL from config in PingCheck #183
Unanswered
martijngastkemper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've some URLs that I want to monitor with a
PingCheck
. The URLs are loaded from an env var inconfig/services.php
. I add the health checks inAppServiceProvider->boot()
like this:Now
artisan package:discovery
fails, because it doesn't have the configuration at that point. And that's caused by the fact that our deploy workflow doesn't have the configuration files. Up until now, the service providers were completely configuration agnostic. And I would like to keep it that way. But how? The package fires some events my app could listen to, but that's not in the documentation.Would someone happen to have any suggestions on how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions