Skip to content

Instantly share code, notes, and snippets.

@tkwant
Last active October 4, 2019 15:25
Show Gist options
  • Save tkwant/4d09d4de7bf93f10181b343e0e4df1c8 to your computer and use it in GitHub Desktop.
Save tkwant/4d09d4de7bf93f10181b343e0e4df1c8 to your computer and use it in GitHub Desktop.
zigbee2mqtt mosquitto nodered docker compose
version: '3'
services:
mosquitto:
image: eclipse-mosquitto
container_name: mosquitto
restart: always
volumes:
- ~/smarthome/mosquitto:/mosquitto/
ports:
- 1883:1883
- 9001:9001
nodered:
image: nodered/node-red-docker:rpi-v8
container_name: nodered
restart: always
network_mode: host
volumes:
- ~/smarthome/nodered:/data
ports:
- 1880:1880
user: root:root
zigbee2mqtt:
image: koenkk/zigbee2mqtt:1.5.1-arm32v6
container_name: zigbee2mqtt
restart: always
network_mode: host
volumes:
- ~/smarthome/zigbee2mqtt:/app/data
devices:
- /dev/ttyACM0:/dev/ttyACM0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment