Giter Site home page Giter Site logo

rpi-errbot's Introduction

rpi-errbot

Errbot for Docker on the Raspberry Pi.

Docker Hub: https://hub.docker.com/r/frozenfoxx/rpi-errbot/

How to Build

git clone [email protected]:frozenfoxx/rpi-errbot.git
cd rpi-errbot
docker build .

How to Use this Image

Quickstart

The following will set up and run the latest Errbot connected to Slack.

[Copy defaults/config-template.py to defaults/config.py and adjust]
docker run -d --name=errbot_server \
  -v /srv \
  -v defaults/config.py:/srv/config.py
  frozenfoxx/rpi-errbot

Custom Config

Errbot is highly configurable. You can adjust the configuration by copying the defaults/config-template.py to defaults/config.py, modifying, and then mounting to /srv/config.py when running the container. If you'd like to build one with a custom configuration to begin with simply modify the defaults/config-template.py first and it will be copied in upon build.

Data Container

To persist your data, plugins, and other information you're going to want to create a data container (or otherwise mount storage). The following will quickly create one:

docker create -v /srv --name errbot_data frozenfoxx/rpi-errbot /bin/true

You can then mount this container using --volumes-from:

docker run -d --name=errbot_server \
  -volumes errbot_data:/srv \
  frozenfoxx/rpi-errbot

Configuration

Environment Variables

This image can be configured using environment variables.

  • ERRBOT_USER: system username.
  • LC_ALL: default locale.
  • LANG: default language.
  • LANGUAGE: default system language.
  • CONFIG: filesystem location for the main Errbot configuration file.

Backends

Current backends built into this image:

  • Slack
  • Text

More can be added via inserting them into the packages to be installed via pip3 in the Dockerfile.

rpi-errbot's People

Contributors

frozenfoxx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.