Smarthome zigbee

This commit is contained in:
Brieuc Dubois 2023-05-14 08:47:59 +02:00 committed by Bhasher
parent 83c819a9ac
commit 31a4161bac
1 changed files with 14 additions and 0 deletions

View File

@ -24,6 +24,7 @@ services:
- $CONFIG/smarthome/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro - $CONFIG/smarthome/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro
- $DATA/mosquitto/data:/mosquitto/data - $DATA/mosquitto/data:/mosquitto/data
- $DATA/mosquitto/passwordfile:/mosquitto/passwordfile - $DATA/mosquitto/passwordfile:/mosquitto/passwordfile
- /etc/localtime:/etc/localtime:ro
ports: ports:
- 1883:1883 - 1883:1883
- 9001:9001 - 9001:9001
@ -32,6 +33,19 @@ services:
- external - external
restart: on-failure 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: networks:
smarthome: smarthome:
external: external: