1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/zigbee2mqtt/docker-compose.yml

22 lines
462 B
YAML
Raw Normal View History

2024-01-03 10:11:49 +02:00
#
# See: https://www.zigbee2mqtt.io/guide/installation/02_docker.html#docker-compose
#
2023-12-29 03:14:38 +02:00
version: "3.8"
services:
zigbee2mqtt:
image: koenkk/zigbee2mqtt
ports:
- "8080:8080"
volumes:
- ./data:/app/data
- /run/udev:/run/udev:ro
environment:
- TZ=Asia/Shanghai
devices:
- /dev/serial/by-id/usb-Texas_Instruments_XXXXXX:/dev/ttyACM0
2024-01-03 10:11:49 +02:00
group_add:
- dialout
user: "1000:1000"
2023-12-29 03:14:38 +02:00
restart: unless-stopped