Slack-Notify is a very simple tool for sending a Slack notification via a Slack Incoming Webhook.
3.8K
Slack-Notify is a very simple tool for sending a Slack notification via a Slack Incoming Webhook.
It is designed to function as a 12-factor app, receiving configuration via environment variables. To keep things simple, it is rigid in what it allows you to set. More complex slackbots might want to customize this a little more.
This tool uses Slack Incoming Webhooks to send a message to your slack channel.
Before you can use this tool, you need to log into your Slack account and configure this.
Running slack-notify in a shell prompt goes like this:
$ export SLACK_WEBHOOK=https://hooks.slack.com/services/Txxxxxx/Bxxxxxx/xxxxxxxx
$ SLACK_MESSAGE="hello" slack-notify
Running the Docker container goes like this:
$ export SLACK_WEBHOOK=https://hooks.slack.com/services/Txxxxxx/Bxxxxxx/xxxxxxxx
$ docker run -e SLACK_WEBHOOK=$SLACK_WEBHOOK -e SLACK_MESSAGE="hello" -e SLACK_CHANNEL=acid jetbrainsinfra/slack-notify
Content type
Image
Digest
Size
4.4 MB
Last updated
about 8 years ago
docker pull jetbrainsinfra/slack-notify