Docker images for Err, a chat-bot designed to be easily deployable, extensible and maintainable.
This container can be started in three different modes:
err.py.For example, try: docker run --rm -it errbot/err:python3pypi err --help
To successfully run the bot, you will have to mount a config.py into the /err/ directory (--volume option to docker run).
Inside the container, /err/data/ has already been set aside for data storage. You should mount this directory as a data volume as well in order to de-couple your bot data from the container itself.
Some plugins require additional dependencies that may not be installed in the virtualenv by default. There are three ways to deal with this, listed from best practice to worst:
Dockerfile with FROM errbot/err:python3pypi (or one of the other available tags in place of python3pypi) and install dependencies as part of the container build process with RUN runas err /err/virtualenv/bin/pip install somepkg.AUTOINSTALL_DEPS = True in setting.py.docker exec --interactive --tty <container-name> /bin/sh -c "TERM=$TERM exec /bin/bash --login" where <container-name> is the name listed by docker ps) and install with pip as in step 2 above (runas err /err/virtualenv/bin/pip install somepkg)./err: Home directory of the user account for Err. config.py is expected to go here./err/.ssh/: The .ssh directory of the bot user (you can mount private SSH keys into this directory if you need to install plugins from private repositories)./err/virtualenv/: The virtualenv containing the Python interpreter and installed packages./err/data/: A volume intended to store bot data (BOT_DATA_DIR setting of config.py).No tags have been pushed to this repository yet.