@ -6,11 +6,11 @@ until curl "$ES_URL" -fs; do
echo "waiting for elastic search to start"
counter=$((counter+1))
if [[ $counter -eq 12 ]]; then
# fail after 1 min
# fail after 2 min
echo "failed to connect to elastic search, exiting..."
exit 1
fi
sleep 5
sleep 10
done
python manage.py makemigrations