Use config file for default docker cmd
This commit is contained in:
@@ -47,6 +47,7 @@ hc-login $USERNAME $PASSWORD > config/devices.json
|
||||
or
|
||||
|
||||
```bash
|
||||
docker-compose build
|
||||
docker-compose run -T app hc-login $USERNAME $PASSWORD > config/devices.json
|
||||
```
|
||||
|
||||
@@ -84,6 +85,12 @@ mqtt_clientname="hcpy"
|
||||
hc2mqtt --config config/config.ini
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
This tool will establish websockets to the local devices and
|
||||
transform their messages into MQTT JSON messages. The exact
|
||||
format is likely to change; it is currently a thin translation
|
||||
|
||||
Reference in New Issue
Block a user