An open API service indexing awesome lists of open source software.

https://github.com/makeomatic/docker-hubot


https://github.com/makeomatic/docker-hubot

Last synced: 7 months ago
JSON representation

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
```