diff --git a/entrypoint.sh b/entrypoint.sh index ef7e582..2c1c657 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash # replace localhost:8080 with {{.Host}}:UI_PORT in /foxglove/default-layout.json file -sed -i 's|localhost:8080|{{.Host}}:{{env "UI_PORT"}}|g' /foxglove/default-layout.json +sed -i "s|localhost:8080|{{.Host}}:${UI_PORT}|g" /foxglove/default-layout.json # Optionally override the default layout with one provided via bind mount index_html=$(cat index.html)