From 31a4161bac09733bc69fae47f477a983525d1138 Mon Sep 17 00:00:00 2001 From: BhasherBEL Date: Sun, 14 May 2023 08:47:59 +0200 Subject: [PATCH] Smarthome zigbee --- bxl-rpi/apps/docker-compose.smarthome.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bxl-rpi/apps/docker-compose.smarthome.yaml b/bxl-rpi/apps/docker-compose.smarthome.yaml index ea2bdab..0824aaa 100644 --- a/bxl-rpi/apps/docker-compose.smarthome.yaml +++ b/bxl-rpi/apps/docker-compose.smarthome.yaml @@ -24,6 +24,7 @@ services: - $CONFIG/smarthome/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro - $DATA/mosquitto/data:/mosquitto/data - $DATA/mosquitto/passwordfile:/mosquitto/passwordfile + - /etc/localtime:/etc/localtime:ro ports: - 1883:1883 - 9001:9001 @@ -32,6 +33,19 @@ services: - external restart: on-failure + zigbee2mqtt: + container_name: zigbee2mqtt + restart: unless-stopped + image: koenkk/zigbee2mqtt:latest + volumes: + - $DATA/zigbee2mqtt:/app/data + - /run/udev:/run/udev:ro + - /etc/localtime:/etc/localtime:ro + devices: + - /dev/ttyACM0:/dev/ttyACM0 + networks: + - smarthome + networks: smarthome: external: