Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 566 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 566 Bytes

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