From f4b07504298f1e444076b91d6d02d4c6fe3826df Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 7 Mar 2022 18:47:43 +0100 Subject: [PATCH] fix: [compose-core] not ignore port and timeout arguments Signed-off-by: Valentin Lab --- bin/compose-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compose-core b/bin/compose-core index 6bf953a..5f89edc 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -3129,7 +3129,7 @@ get_healthy_container_ip_for_service () { exit 1 fi - wait_for_tcp_port "$container_network" "$container_ip:8069" 4 || { + wait_for_tcp_port "$container_network" "$container_ip:$port" "$timeout" || { err "TCP port of ${DARKYELLOW}$service${NORMAL}'s container doesn't seem open" echo " Please check that container is healthy. Here are last logs:" >&2 docker logs "$container" --tail=10 | prefix " ${GRAY}|${NORMAL} " >&2