You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-11-27 22:28:31 +02:00
update
This commit is contained in:
2
zigbee2mqtt/README.md
Normal file
2
zigbee2mqtt/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
zigbee2mqtt
|
||||
===========
|
||||
20
zigbee2mqtt/data/configuration.yaml
Normal file
20
zigbee2mqtt/data/configuration.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# Home Assistant integration (MQTT discovery)
|
||||
homeassistant: false
|
||||
|
||||
# allow new devices to join
|
||||
permit_join: false
|
||||
|
||||
# MQTT settings
|
||||
mqtt:
|
||||
# MQTT base topic for zigbee2mqtt MQTT messages
|
||||
base_topic: zigbee2mqtt
|
||||
# MQTT server URL
|
||||
server: 'mqtt://localhost'
|
||||
# MQTT server authentication, uncomment if required:
|
||||
# user: my_user
|
||||
# password: my_password
|
||||
|
||||
# Serial settings
|
||||
serial:
|
||||
# Location of CC2531 USB sniffer
|
||||
port: /dev/ttyACM0
|
||||
14
zigbee2mqtt/docker-compose.yml
Normal file
14
zigbee2mqtt/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user