diff --git a/dashcast/app.sh b/dashcast/app.sh index f699f7d..9798891 100755 --- a/dashcast/app.sh +++ b/dashcast/app.sh @@ -1,4 +1,12 @@ #!/bin/bash +CONFIG_PATH=/data/options.json + +DEFAULT_DASHBOARD_URL=$(jq --raw-output '.dashboard_url // empty' $CONFIG_PATH) + +echo "DEFAULT_DASHBOARD_URL=${DEFAULT_DASHBOARD_URL}" + +export DEFAULT_DASHBOARD_URL + # Keep the python app alive. while true; do python -u app_mqtt.py --show-debug; done diff --git a/dashcast/config.json b/dashcast/config.json index 90b6ca5..fea9538 100644 --- a/dashcast/config.json +++ b/dashcast/config.json @@ -1,6 +1,6 @@ { "name": "Dashcast", - "version": "0.0.4", + "version": "0.0.5", "slug": "dashcast", "description": "Display dashboard web pages on your Chromecast device", "url": "https://github.com/ragingcomputer/dashcast-docker-MQTT",