Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.03 KB

Random Slack Status Update

steve-dave

Docker container to automatically update Slack status.

Inspired by benpbolton/slack-autostatus/.

Container will do the following

  • Run in a loop
  • At random intervals send message + emoji payload to update Slack workspace status

Requirements

Create Slack Personal Token for workspace to auto-update

Build

docker build -t steve-dave .

Run

Run container passing the SLACK_PERSONAL_TOKEN generated in the Requirements step. Run in background to continually update status at random intervals.

docker run -it -e "SLACK_PERSONAL_TOKEN=xoxp-XXXXXXXXXXXXXXXXXXXXXX" steve-dave -d

or with docker-compose, create a .env file with SLACK_PERSONAL_TOKEN=xoxp-XXXXXXXXXXXXXXXXXXXXXX and run,

docker-compose up -d