zigbee2mqtt first deployment
This commit is contained in:
parent
50edafe840
commit
9f855de3a5
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
data
|
14
docker-compose.yml
Normal file
14
docker-compose.yml
Normal 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
|
4
env.example
Normal file
4
env.example
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Z2M_VERSION=1.25.2
|
||||||
|
Z2M_DATA=./data
|
||||||
|
Z2M_DEVICE=/dev/ttyUSB0
|
||||||
|
Z2M_TIMEZONE=Europe/Rome
|
Loading…
Reference in New Issue
Block a user