zigbee2mqtt first deployment

This commit is contained in:
2022-06-24 15:16:51 +02:00
parent 50edafe840
commit 9f855de3a5
3 changed files with 20 additions and 0 deletions

14
docker-compose.yml Normal file
View File

@@ -0,0 +1,14 @@
---
services:
zigbee2mqtt:
image: koenkk/zigbee2mqtt:${Z2M_VERSION}
restart: unless-stopped
devices:
- ${Z2M_DEVICE}:/dev/z2m_usb_device
environment:
- TZ=${Z2M_TIMEZONE}
volumes:
- ${Z2M_DATA}:/app/data
- /run/udev:/run/udev:ro
ports:
- 8080:8080