From 8c6fa17b08977f48a660700fbd02dedd4b64aabd Mon Sep 17 00:00:00 2001 From: john Date: Wed, 4 Feb 2026 00:10:06 +0000 Subject: [PATCH] Add mqtt/docker-compose.yml MQTT and Z2M for possible Home Assistant --- mqtt/docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mqtt/docker-compose.yml diff --git a/mqtt/docker-compose.yml b/mqtt/docker-compose.yml new file mode 100644 index 0000000..82bbc2e --- /dev/null +++ b/mqtt/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.8' +services: + mqtt: + image: eclipse-mosquitto:2.0 + restart: unless-stopped + volumes: + - "./mosquitto-data:/mosquitto" + ports: + - "1883:1883" + - "9001:9001" + command: "mosquitto -c /mosquitto-no-auth.conf" + + zigbee2mqtt: + container_name: zigbee2mqtt + restart: unless-stopped + image: koenkk/zigbee2mqtt + volumes: + - ./zigbee2mqtt-data:/app/data + - /run/udev:/run/udev:ro + ports: + - "8081:8081" + environment: + - TZ=Europe/London + devices: + - /dev/ttyUSB0:/dev/ttyUSB0 \ No newline at end of file