We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b04bcb commit 351bb78Copy full SHA for 351bb78
root/etc/cont-init.d/50-config
@@ -99,7 +99,7 @@ fi
99
echo "Waiting for DB to be available"
100
END=$((SECONDS+30))
101
while [[ ${SECONDS} -lt ${END} ]] && [[ -n "${DB_HOST+x}" ]]; do
102
- if [[ $(/usr/bin/nc -w1 "${DB_HOST}" 3306 | tr -d '\0') ]]; then
+ if [[ $(/usr/bin/nc -w1 "${DB_HOST}" "${DB_PORT}" | tr -d '\0') ]]; then
103
if [[ -n "${RUN}" ]]; then
104
break
105
fi
0 commit comments