fixes
This commit is contained in:
parent
2ce8f0c998
commit
f7a5cf03e2
|
@ -1,5 +1,5 @@
|
|||
FROM homeassistant/home-assistant
|
||||
|
||||
RUN apt-get update && apt-get install nodejs
|
||||
RUN apt-get update && apt-get install -y nodejs
|
||||
WORKDIR /config
|
||||
CMD [ "./run.sh" ]
|
||||
CMD [ "./run_on_server.sh" ]
|
||||
|
|
|
@ -92,7 +92,7 @@ media_player:
|
|||
vacuum:
|
||||
- platform: xiaomi_miio
|
||||
host: rockrobo
|
||||
token: !secret local_ip
|
||||
token: !secret vacuum_token
|
||||
|
||||
|
||||
group: !include groups.yaml
|
||||
|
|
|
@ -11,5 +11,6 @@ services:
|
|||
devices:
|
||||
- /dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0
|
||||
restart: always
|
||||
ports:
|
||||
- "8123:8123"
|
||||
network_mode: host
|
||||
#ports:
|
||||
# - "8123:8123"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /config
|
||||
./make_config.sh server
|
||||
./make_custom_frontend.sh
|
||||
|
||||
cd /usr/src/app
|
||||
python -m homeassistant --config /config
|
Loading…
Reference in New Issue