Sign inSign up

webpigeon/errbot

By webpigeon

•Updated over 10 years ago

simplified docker build for the errbot xmpp bot

Image
0

336

webpigeon/errbot repository overview

⁠Docker container for errbot

Both the existing errbot docker containers are a little buggy and complicated. This is my simplifed errbot docker container. It is tuned for the xmpp backend at present but shouldn't be too hard to get other backends working.

⁠What it does

  • Bot runs under non-root user
  • Bot exposes data and plugin directories as volumes
  • Bot exposes core configuration variables as envrioment variables

⁠What it still needs to do

  • Expose more as envrioment variables
  • Use virtualenv rather than global install for errbot (makes plugin auto-dependencies magic easier)

⁠Envrioment Variables

  • ERRBOT_USERNAME
  • ERRBOT_PASSWORD
  • ERRBOT_ADMINS

⁠Example usage

sudo docker run -e [email protected] -e ERRBOT_PASSWORD=changeme -e [email protected] webpigeon/errbot

⁠Volumes

  • /home/errbot -> config.py is here, but you should use envrioment variables rather than change this.
  • /home/errbot/data -> data volume
  • /home/errbot/plugins -> plugin volume

Tag summary

Content type

Image

Digest

Size

265.9 MB

Last updated

over 10 years ago

docker pull webpigeon/errbot