Sign inSign up

brewpi/brewpi-ubuntu

By brewpi

•Updated about 8 years ago

BrewPi docker image based on ubuntu 16.04

Image
2

100K+

brewpi/brewpi-ubuntu repository overview

⁠brewpi-docker: docker images to run a BrewPi server

This docker container runs the web interface and python scripts for BrewPi.

We have an image based on Ubuntu 16.04 and an image based on raspbian.

To deploy a brewpi container, take these steps:

⁠For a raspberry pi (running hypriot)

Get the latest raspbian based image image

docker pull brewpi/brewpi-raspbian

Deploy a new container. Modify the command below to to your liking, especially the port and the data location on the host (default is ~/brewpi-data).

docker run -d --name brewpi -p 80:80 -v ~/brewpi-data:/data -v /etc/timezone:/etc/timezone -v /etc/localtime:/etc/localtime --restart always brewpi/brewpi-raspbian

⁠For x64/x86 based systems

Get the latest ubuntu based image image

docker pull brewpi/brewpi-ubuntu

Deploy a new container. Modify the command below to to your liking, especially the port and the data location on the host (default is ~/brewpi-data).

docker run -d --name brewpi -p 80:80 -v ~/brewpi-data:/data -v /etc/timezone:/etc/timezone -v /etc/localtime:/etc/localtime --restart always brewpi/brewpi-ubuntu

Let's break that down to explain each part.

ParameterExplanation
-dAfter starting the container, run it as daemon in the background.
--name brewpiName the new container brewpi, modify this you are running multiple brewpi containers.
-p 80:80Map port 80 of the container to port 80 of the host.
If port 80 is in use, use a differnt port, for example 8000:80.
-v ~/brewpi-data:/dataStore data and settings in ~/brewpi-data on the host.
-v /etc/timezone:/etc/timezone
-v /etc/localtime:/etc/localtime
Use timezone from the host.
--restart alwaysStart on boot and always restart the container when it stops.
brewpi/brewpi-raspbianThe image that is used. Usebrewpi/brewpi-raspbian for the raspberry pi, brewpi/brewpi-ubuntu for x64/x86 systems.

⁠Connecting the BrewPi Spark via USB

If you want to connect to the BrewPi Spark over USB, you need to pass an extra argument to the container to forward the usb device.

ParameterExplanation
--device=/dev/ttyACM0:/dev/ttyACM0Make the serial port device /dev/ttyACM0 available in the container

Tag summary

Content type

Image

Digest

Size

247.8 MB

Last updated

about 8 years ago

docker pull brewpi/brewpi-ubuntu