tuckner / bolt-docker

A container that runs Slack Bolt to receive message events and send to a webhook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bolt Docker

A Docker container for receiving Slack Bolt Socket mode message events and sending to a webhook. Helpful in environments that support webhooks and not websockets, but the webhooks are not internet facing.

Setup Environment

Create a .env file with the following variables:

SLACK_BOT_TOKEN=xoxb-...
SLACK_APP_TOKEN=xapp-1-...
WEBHOOK_ADDRESS=https://...

Build

docker build . -t bolt-docker

Run

docker run -it -d --env-file .env --name slack-messages bolt-docker

About

A container that runs Slack Bolt to receive message events and send to a webhook

License:MIT License


Languages

Language:Python 82.2%Language:Dockerfile 17.8%