diff --git a/README.md b/README.md index 8d408a45..141bbbc2 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ mise build-lgtm > [!TIP] > If you built your image locally, you can use the `run-lgtm` scripts with -> the parameters `latest true` to run your local image. +> the parameters `latest true` to run your local image (or `mise run local-lgtm`). ## Build and run the example app diff --git a/docker/run-all.sh b/docker/run-all.sh index 3cbecbc7..100aac8c 100755 --- a/docker/run-all.sh +++ b/docker/run-all.sh @@ -124,6 +124,6 @@ echo "The OpenTelemetry collector and the Grafana LGTM stack are up and running. echo "Open ports:" echo " - 4317: OpenTelemetry GRPC endpoint" echo " - 4318: OpenTelemetry HTTP endpoint" -echo " - 3000: Grafana. User: admin, password: admin" +echo " - 3000: Grafana (http://localhost:3000). User: admin, password: admin" sleep infinity diff --git a/mise.toml b/mise.toml index ae47aee5..1864f2e9 100644 --- a/mise.toml +++ b/mise.toml @@ -30,6 +30,10 @@ run = './scripts/run-acceptance-tests.sh {{arg(name="tag", default="latest")}}' [tasks.lgtm] run = './run-lgtm.sh {{arg(name="tag", default="latest")}}' +[tasks.local-lgtm] +description = "Run locally built LGTM image" +run = './run-lgtm.sh latest true' + [tasks.example] run = "./run-example.sh"