A generic tool that receives a request and sends a message to a discord webhook channel.
You can run the container with the following command:
docker run -e URL="DISCORD_WEBHOOK_URL" -e SECRET="YOUR_SECRET_TOKEN" -p 8000:8000 --name oryx en3sis/oryx:latest
or, you can build the image and run it:
docker build -t oryx:latest .
docker run -e URL="DISCORD_WEBHOOK_URL" -e SECRET="YOUR_SECRET_TOKEN" -p 8000:8000 --name oryx oryx:latest
curl --request POST \
--url http://localhost:8000/ \
--header 'API-Key: SECRET' \
--header 'Content-Type: application/json' \
--data '{
"type": "error",
"color": "0ff0000",
"message": "This is a bad error! =/"
}'