Skip to content

Instantly share code, notes, and snippets.

@dettmering
Last active September 3, 2018 17:59
Show Gist options
  • Save dettmering/2f071df20ce170acfa463109a7bc9cc0 to your computer and use it in GitHub Desktop.
Save dettmering/2f071df20ce170acfa463109a7bc9cc0 to your computer and use it in GitHub Desktop.
Raspi3 Docker Smart Home
docker run -d -u $(id -u):$(id -g) \
--name=hass --net=host --restart=always \
-v /home/pi/hass:/config \
-v /etc/localtime:/etc/localtime:ro \
homeassistant/raspberrypi3-homeassistant:latest
docker run -d --restart=always -v /home/pi/homegear/etc:/etc/homegear:Z -v /home/pi/homegear/lib:/var/lib/homegear:Z -v /home/pi/homegear/log:/var/log/homegear:Z -e TZ=Europe/Berlin -e HOST_USER_ID=$(id -u) -e HOST_USER_GID=$(id -g) --net=host --name homegear homegear/rpi-homegear:stable
docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer --no-auth
docker run -d --restart=always -p 1234:1234 --privileged --name hmland patrickse/rpi-hmcfgusb:0.103
docker run -d --restart=always --name="influxdb" --volume=/home/pi/influxdb:/data -p 8086:8086 hypriot/rpi-influxdb
docker run -d --name="grafana" --restart=always -v "/home/pi/grafana:/var/lib/grafana" -p 3000:3000 raymondmm/grafana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment