From cae6b9bbe1b03e6a55be6957044dd5ea68f68bef Mon Sep 17 00:00:00 2001 From: Fran Arbanas Date: Fri, 22 Nov 2024 14:19:03 +0100 Subject: [PATCH] add ip and port for locust connection as variables --- nym-network-monitor/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nym-network-monitor/entrypoint.sh b/nym-network-monitor/entrypoint.sh index e6f8ff8256..91a0830639 100755 --- a/nym-network-monitor/entrypoint.sh +++ b/nym-network-monitor/entrypoint.sh @@ -15,7 +15,7 @@ nnm_pid=$! sleep 10 -python -m locust -H http://127.0.0.1:8080 --processes "${processes}" --autostart --autoquit 60 -u "${users}" -t "${timeout}"s & +python -m locust -H http://${NYM_NETWORK_MONITOR_HOST}:${NYM_NETWORK_MONITOR_PORT} --processes "${processes}" --autostart --autoquit 60 -u "${users}" -t "${timeout}"s & locust_pid=$! wait $locust_pid