diff --git a/entrypoint.sh b/entrypoint.sh index 366e815..9b1e9b6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,14 +1,4 @@ #!/bin/sh -if [ "$DATABASE" = "postgres" ] -then - echo "Waiting for postgres..." - - while ! nc -z $SQL_HOST $SQL_PORT; do - sleep 0.1 - done - - echo "PostgreSQL started" -fi #python manage.py flush --no-input #python manage.py migrate