Refine readme
parent
2267944907
commit
0be473657b
15
README.md
15
README.md
|
@ -6,19 +6,20 @@ e.g. [1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000]
|
|||
|
||||
# Environment variables
|
||||
|
||||
MQTT_HOST: The host of the MQTT broker
|
||||
MQTT_PORT: (Optional) The port of the MQTT broker
|
||||
MQTT_TOPIC: The topic to publish to
|
||||
MQTT_USERNAME: (Optional) The user for the MQTT broker
|
||||
MQTT_PASSWORD: (Optional) The password for the MQTT broker
|
||||
- MQTT_HOST: The host of the MQTT broker
|
||||
- MQTT_PORT: (Optional) The port of the MQTT broker
|
||||
- MQTT_TOPIC: The topic to publish to
|
||||
- MQTT_USERNAME: (Optional) The user for the MQTT broker
|
||||
- MQTT_PASSWORD: (Optional) The password for the MQTT broker
|
||||
|
||||
# Build
|
||||
# Docker
|
||||
## Build
|
||||
|
||||
```
|
||||
docker build -t huette-energy-consumption-weekperday .
|
||||
```
|
||||
|
||||
# Run
|
||||
## Run
|
||||
|
||||
```
|
||||
docker run -d -e MQTT_HOST=10.2.3.2 -e MQTT_TOPIC=c3re/huette/energy/consumption/week_per_day -t huette-energy-consumption-weekperday
|
||||
|
|
Loading…
Reference in New Issue