Public Repository

Last pushed: 2 years ago
Short Description
Full BrewPi/Nginx install for Raspberry Pi
Full Description

Full source files and README are located at https://github.com/vanosg/brewpi-docker

This image contains ALL BrewPi services running in a single container, and appears to be quite stable. Data files you create (such as temperature profiles or brew logs) will be persistently saved on the host at ~/brewpi-data .

To run this container, simply run

docker run  --device=/dev/ttyACM0:/dev/ttyACM0 -v /home/pi/brewpi:/brewpi -p 80:80 rpi-brewpi-omni

By default, this image is configured to support the Spark. If you are using an Arduino, you'll want to use

docker run  --device=/dev/ttyACM0:/dev/ttyACM0 -v /home/pi/brewpi:/brewpi -p 80:80 -e system='arduino' rpi-brewpi-omni

Alternatively, docker-compose.yml file to run this container looks something like this: (NOTE: Docker 1.10 and Docker-Compose 1.6 or higher are required to properly build!)

version: '2'
services:
  brewpi:
    image: vanosg/rpi-brewpi-omni:latest
    container_name: brewpi
    hostname: brewpi
    environment:
        - system=$system
    devices:
        - "/dev/ttyACM0:/dev/ttyACM0"
        - "/dev/ttyAMA0:/dev/ttyAMA0"
    ports:
        - 80:80
    volumes:
        - ~/brewpi-data:/brewpi

networks:
    default:
      driver: bridge

You would then execute that by running

docker-compose up

And if you wanted to run it for an Arduino instead of a Spark, use

system=arduino docker-compose up

These containers were built on the Hypriot Raspberry Pi image, which can be obtained from http://blog.hypriot.com/downloads/

Docker Pull Command
Owner
vanosg