Sign inSign up

symfoni/slack-post

By symfoni

Updated over 9 years ago

Posting messages to Slack. This one uses Consul.

Image
0

300

symfoni/slack-post repository overview

Slack-post

Docker image for posting text messages to Slack.

This version uses Consul for storing settings and sends only basic messages.

$ export APP_NAME=slack-bot CONSUL="consul:8500"
$ curl -X PUT -d 'Mr. Whale.' "http://$CONSUL/v1/kv/$APP_NAME/username"
$ curl -X PUT -d ':whale:' "http://$CONSUL/v1/kv/$APP_NAME/icon"
$ curl -X PUT -d 'https://slack-hook.url' "http://$CONSUL/v1/kv/$APP_NAME/hook_url"
$ docker run --rm --network somewhere-with-consul symfoni/slack-post:latest $CONSUL $APP_NAME "hello from slack-post"

Tag summary

Content type

Image

Digest

Size

4.1 MB

Last updated

over 9 years ago

docker pull symfoni/slack-post