1
0
mirror of https://github.com/balkian/zigbee2mqtt synced 2025-09-01 17:32:21 +00:00

Trying out the new version of zigbee2mqtt

This commit is contained in:
J. Fernando Sánchez
2025-08-12 23:13:15 +02:00
parent edf11eb6e4
commit 263cda43cb
3 changed files with 32 additions and 39 deletions

View File

@@ -1,34 +1,39 @@
version: '2.1'
services:
zigbee2mqtt:
image: koenkk/zigbee2mqtt
image: koenkk/zigbee2mqtt:2.6.0
container_name: zigbee2mqtt
restart: always
volumes:
- ./z2m-data/:/app/data/
- /etc/localtime:/etc/localtime:ro
- /run/udev:/run/udev:ro
devices:
- "/dev/ttyACM0"
networks:
- hass
- /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00039D6A85-if00:/dev/ttyACM0
#networks:
# - hass
environment:
- TZ=Europe/Madrid
- Z2M_ONBOARD_NO_SERVER=1
ports:
- 8080:8080
mqtt:
image: eclipse-mosquitto
restart: always
ports:
- 1883:1883
- 9001:9001
networks:
- hass
#networks:
# - hass
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
hass:
image: homeassistant/home-assistant
ports:
- "8123:8123"
networks:
- hass
volumes:
- ./hass-config:/config
- "/etc/localtime:/etc/localtime:ro"
networks:
hass:
driver: overlay
# hass:
# image: homeassistant/home-assistant
# ports:
# - "8123:8123"
# networks:
# - hass
# volumes:
# - ./hass-config:/config
# - "/etc/localtime:/etc/localtime:ro"
#networks:
# hass: