This commit is contained in:
TDLaouer 2025-07-13 19:58:46 +02:00
parent c388038d77
commit 74cb4441ef

View File

@ -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