From 10aaf00e83dda0133d9f2a3032a0d7c179368403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Desjardins=20J=C3=A9r=C3=B4me?= Date: Sat, 4 Dec 2021 19:25:02 +0100 Subject: [PATCH] use DB_PORT for mysql database connection (#3762) DB_PORT is the env variable defined for the mysql port into Panel Configuration. --- .github/docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/docker/entrypoint.sh b/.github/docker/entrypoint.sh index e2df6439c..b2460cde9 100644 --- a/.github/docker/entrypoint.sh +++ b/.github/docker/entrypoint.sh @@ -57,7 +57,7 @@ fi ## check for DB up before starting the panel echo "Checking database status." -until nc -z -v -w30 $DB_HOST 3306 +until nc -z -v -w30 $DB_HOST $DB_PORT do echo "Waiting for database connection..." # wait for 1 seconds before check again