Skip to content

realraum/r3bot-errbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r3bot-errbot

errbot for realraum related chat (IRC, XMPP, Telegram, ...) stuff.

Configuration

to clone the repo / buld the image:

  • mkdir /opt/errbot/r3bot && cd $_
  • git clone https://github.com/realraum/r3bot-errbot.git .

and to create the volume:

  • mkdir docker-run && cd $_
  • mkdir ssl data plugins

And then

  • Configuration via environment variables, see config.py and env.list
  • Configuration by adapting config.py (and lunching run.sh with it)

Systemd

[Unit]
Description=Errbot r3bot
After=docker.service
Requires=docker.service

[Service]
WorkingDirectory=/opt/errbot/r3bot
ExecStart=/opt/bin/systemd-docker run --rm --name r3bot-errbot -it -v docker-run:/srv --env-file ./env.list -e TZ=Europe/Vienna realraum/r3bot-errbot /app/venv/bin/run.sh -c /srv/config.py
Restart=always
RestartSec=10s
Type=notify
NotifyAccess=all
TimeoutStartSec=120
TimeoutStopSec=15

[Install]
WantedBy=multi-user.target

Plugin development

  • errbot manual
  • pip install -r requirements.txt; errbot -T (in this directory)

Credits