https://github.com/makeomatic/docker-hubot
https://github.com/makeomatic/docker-hubot
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/makeomatic/docker-hubot
- Owner: makeomatic
- Created: 2016-05-31T19:43:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T20:36:34.000Z (almost 9 years ago)
- Last Synced: 2025-02-23T11:41:36.562Z (about 1 year ago)
- Language: CoffeeScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hubot docker
hubot is a chat bot built on the [Hubot][hubot] framework. It was
initially generated by [generator-hubot][generator-hubot], and configured to be
deployed on [Heroku][heroku] to get you up and running as quick as possible.
## Configuration Env Variables
ALl of these must be specified.
| Env variable | Example |
|:-------------|:------------|
| HUBOT_JANKY_URL | https://user:password@janky.example.com/_hubot/ |
| REDIS_URL | redis://passwd@192.168.0.1:16379/prefix |
| TELEGRAM_WEBHOOK | https://hubot.radiofx.co |
| TELEGRAM_TOKEN | 221932505:*********************************** |
| HUBOT_RBAC_POWER_USERS | 51661165 |
| HUBOT_NAME | hubot |
Generate secret: `dd if=/dev/urandom bs=32 count=1 2>/dev/null | openssl base64`
## Sample configuration
```sh
docker run \
-v ~/projects/rfx-chef/.chef/:/src/.chef \
-v ${PWD}/scripts:/src/scripts \
-e "TELEGRAM_TOKEN=221932505:.........." \
-e "HUBOT_NAME=hubot" \
-e "HUBOT_RBAC_POWER_USERS=51661165" \
-e "HUBOT_JANKY_URL=http://janky.localhost/_hubot" \
-e "HUBOT_LOG_LEVEL=debug" \
--rm -it --name hubot makeomatic/hubot
```