errbot for realraum related chat (IRC, XMPP, Telegram, ...) stuff.
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
andenv.list
- Configuration by adapting
config.py
(and lunchingrun.sh
with it)
- Use systemd-docker
[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
- errbot manual
pip install -r requirements.txt; errbot -T
(in this directory)
- Docker stuff based on rroemhild/docker-errbot
- Plugins based on realraum/r3bot-irc