Crowdbot - A Slack bot integrate with Atlassian crowd
910
This bot supports management of groups of Atlassian crowd.
Add group and Modify group.Create a bot and get token at https://my.slack.com/services/new/bot .
example:
$ yarn install
Example (change it to your crowd account and slack token)
$ CROWDBOT_LANG=en \
CROWD_BASE_URL=https://crowd.example.com/ \
CROWD_APPLICATION=crowdbot \
CROWD_PASSWORD=secret \
SLACK_BOT_TOKEN=xoxo-xxx-xx-xx-xxxx \
SLACK_ADMIN_IDS=U123456,U23456 \
node .
https://hub.docker.com/r/mtgto/crowdbot/
Example (change it to your crowd account and slack token)
docker run -e CROWDBOT_LANG=en \
-e CROWD_BASE_URL=https://crowd.example.com/ \
-e CROWD_APPLICATION=crowdbot \
-e CROWD_PASSWORD=secret \
-e SLACK_BOT_TOKEN=xoxo-xxx-xx-xx-xxxx \
-e SLACK_ADMIN_IDS=U123456,U23456 \
-d --name crowdbot mtgto/crowdbot
When stop:
docker stop crowdbot
All configuration is set by environment variables.
| Name | Description | Example |
|---|---|---|
| CROWDBOT_LANG | Message locale. You can choose between "en" or "ja" (default "en"). | "en" (or empty) |
| CROWD_BASE_URL | Crowd URL | https://crowd.example.com/ |
| CROWD_APPLICATION | Crowd Applicaton name. We highly recommend not to use "crowd". | "crowdbot" |
| CROWD_PASSWORD | Crowd application's password. This is NOT admin password. | "secret" |
| SLACK_BOT_TOKEN | Slack token string. | xoxo-xxx-xx-xx-xxxx |
| SLACK_ADMIN_IDS | Slack ids of Crowd administrators which have authorization to add/remove user and create a crowd group. Multiple users can be defined join by comma. | U123456,U23456 |
This software is released under the MIT License, see LICENSE.
Content type
Image
Digest
Size
32.1 MB
Last updated
about 7 years ago
docker pull mtgto/crowdbot