Add zigbee2mqtt/docker-compose.yml
This commit is contained in:
16
zigbee2mqtt/docker-compose.yml
Normal file
16
zigbee2mqtt/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
services:
|
||||||
|
zigbee2mqtt:
|
||||||
|
container_name: zigbee2mqtt
|
||||||
|
image: ghcr.io/koenkk/zigbee2mqtt
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- /var/lib/gladysassistant/zigbee2mqtt/z2m:/app/data
|
||||||
|
- /run/udev:/run/udev:ro
|
||||||
|
ports:
|
||||||
|
# Frontend port
|
||||||
|
- 8080:8080
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/London
|
||||||
|
devices:
|
||||||
|
# Make sure this matched your adapter location
|
||||||
|
- /dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_820b7bc8fcc2ef11a1f0e2b08048b910-if00-port0:/dev/ttyACM0
|
||||||
Reference in New Issue
Block a user