21 lines
442 B
Plaintext
21 lines
442 B
Plaintext
|
#version: '3'
|
||
|
#services:
|
||
|
|
||
|
zigbee:
|
||
|
restart: always
|
||
|
build: zigbee
|
||
|
container_name: zigbee
|
||
|
volumes:
|
||
|
- /opt/zigbee2mqtt:/opt/zigbee2mqtt
|
||
|
environment:
|
||
|
APP_GIT_VERSION: 1.31.2
|
||
|
#APP_MQTT_SERVER: mqtt_server
|
||
|
#APP_MQTT_USER: mqtt_user
|
||
|
#APP_MQTT_PASSWORD: mqtt_password
|
||
|
network_mode: host
|
||
|
#privileged: true
|
||
|
devices:
|
||
|
- /dev/ttyACM0:/dev/ttyACM0
|
||
|
command: bash -c "/root/start.sh"
|
||
|
|