diff --git a/.github/docker/entrypoint.sh b/.github/docker/entrypoint.sh index e2df6439..b2460cde 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