diff --git a/README.md b/README.md index 47dba62..8bca1f6 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,5 @@ ## Integration [![Docker Pulls](https://img.shields.io/docker/pulls/oneteme/inspect-app?style=social)](https://hub.docker.com/r/oneteme/inspect-app) ```SH -docker run --pull=always -d -e INSPECT_SERVER_URL="{{URL}}" -p 80:80 oneteme/inspect-app:{{version}} +docker run --pull=always -d --name inspect-app -e INSPECT_SERVER_URL="{{URL}}" -p 80:80 oneteme/inspect-app:{{version}} ``` diff --git a/config/config-env.map b/config/config-env.map index b1ee8be..38c6c8a 100644 --- a/config/config-env.map +++ b/config/config-env.map @@ -1,4 +1,5 @@ host:INSPECT_SERVER_URL +home:PATH defaultEnv:DEFAULT_ENV gridViewPeriod:DEFAULT_GRID_VIEW_PERIOD kpiViewPeriod:DEFAULT_KPI_VIEW_PERIOD \ No newline at end of file diff --git a/config/config.sh b/config/config.sh index 4949111..10ecc6f 100644 --- a/config/config.sh +++ b/config/config.sh @@ -6,7 +6,7 @@ DIR=$(dirname "$0") MAP=$(< "$DIR/config-env.map") ENTRIES="" for ENTRY in $MAP; do #separate var with space - VALUE=$(printenv "${ENTRY#:*}") + VALUE=$(printenv "${ENTRY#*:}") KEY=${ENTRY%:*} if [ -n "$VALUE" ]; then ENTRIES="$ENTRIES\"$KEY\":\"$VALUE\"," diff --git a/package.json b/package.json index 9d3b51f..a23380a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "inspect-app", - "version": "15.9.0", + "version": "15.10.0", "scripts": { "ng": "ng", "start": "ng serve",