Home Automator MQTT service for the RPi
Check out Installing Docker on the RPi for setting up Docker on the RPi.
Clone the git repo on the RPi and build the image
cd && git clone https://github.com/BioBoost/home_automator_rpi.git
cd home_automator_rpi
docker build -t home_automator .
You can force a rebuild using the command below
docker build --no-cache -t home_automator .
By passing the privileged
we give the docker image access to GPIO and I2C
docker run -d --privileged --restart unless-stopped --name automator home_automator
To get a development build environment fire the docker container up as follows:
docker-compose run build /bin/bash
Now you get a bash shell to start building using make. Once finished and you wish to start the container normally:
docker-compose -d up