my_usage_dashboard/devrun

9 lines
231 B
Bash
Executable File

#!/usr/bin/env bash
docker build -t mud .
docker run --rm -it \
-e "MQTT_HOST=$MQTT_HOST" \
-e "ENERGY_METER_TOPIC=$ENERGY_METER_TOPIC" \
-e "DOOR_TOPIC=$DOOR_TOPIC" \
-e "OUTPUT_TOPIC_PREFIX=$OUTPUT_TOPIC_PREFIX" \
mud