I'd like to have the autoheal image send notifications to discord, however im not to sure on how, as there doesn't appear to be any documentation on this subject.
I was able to get the webhook url from discord, however what do I do then? whenver I run the container (and one goes unhealthy) it gives me the following output in the terminal :
temp2-autoheal-1 | {"message": "Cannot send an empty message", "code": 50006}28-07-2023 13:56:44 Container /temp2-my_service-1 (df2a3b117f01) found to be unhealthy - Restarting container now with 10s timeout
I'd like to have the autoheal image send notifications to discord, however im not to sure on how, as there doesn't appear to be any documentation on this subject. I was able to get the webhook url from discord, however what do I do then? whenver I run the container (and one goes unhealthy) it gives me the following output in the terminal :
How do I actually send a message?