1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-02 09:21:34 +02:00
dockerfiles/errbot
2017-01-22 23:44:07 +08:00
..
arm fix errbot stop_signal 2017-01-22 23:44:07 +08:00
data fix errbot stop_signal 2017-01-22 23:44:07 +08:00
docker-compose.yml fix errbot stop_signal 2017-01-22 23:44:07 +08:00
Dockerfile fix errbot stop_signal 2017-01-22 23:44:07 +08:00
README.md fix errbot stop_signal 2017-01-22 23:44:07 +08:00

errbot

Errbot is a chatbot, a daemon that connects to your favorite chat service and brings your tools into the conversation.

docker-compose.yml

errbot:
  image: vimagick/errbot
  volumes:
    - ./data:/home/errbot
  tty: yes
  restart: always

up and running

$ mkdir -m 777 data
$ docker-compose run --rm errbot --init
$ vim data/config.py
$ docker-compose up -d

Check the example config.py here.

chat-ops

master [8:50 PM] !tryme
errbot [8:50 PM] It works!

master [8:51 PM] !help
errbot [8:51 PM] All commands ...

master [8:52 PM] !whoami
errbot [8:52 PM]
┏━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ key      ┃ value       ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ person   │ `@master`   │
├──────────┼─────────────┤
│ nick     │ `master`    │
├──────────┼─────────────┤
│ fullname │ `Mr Robot`  │
├──────────┼─────────────┤
│ client   │ `XXXXXXXXX` │
└──────────┴─────────────┘