diff --git a/run.sh b/run.sh index dc0f4fc..98536f8 100755 --- a/run.sh +++ b/run.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -#while ! nc -z $DB_HOST 3306 ; do -# echo "Waiting for the MySQL Server" -# sleep 3 -#done +while ! nc -z $DB_HOST 3306 ; do + echo "Waiting for the MySQL Server" + sleep 3 +done #python3 manage.py collectstatic python3 manage.py migrate