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.
Create a .env
file with the following variables:
SLACK_BOT_TOKEN=xoxb-...
SLACK_APP_TOKEN=xapp-1-...
WEBHOOK_ADDRESS=https://...
docker build . -t bolt-docker
docker run -it -d --env-file .env --name slack-messages bolt-docker