We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0994c commit 526c4e3Copy full SHA for 526c4e3
1 file changed
entrypoint.sh
@@ -1,12 +1,12 @@
1
#!/bin/sh
2
3
if [ "$DJANGO_DATABASE_ENGINE" = "django.db.backends.postgresql" ]; then
4
- echo "Waiting for postgres..."
5
- while ! nc -z $DJANGO_DATABASE_HOST "${DJANGO_DATABASE_PORT:-5432}"; do
6
- sleep 0.1
7
- done
+ echo "Waiting for postgres..."
+ while ! nc -z $DJANGO_DATABASE_HOST "${DJANGO_DATABASE_PORT:-5432}"; do
+ sleep 0.1
+ done
8
9
- echo "PostgreSQL is running chief!"
+ echo "PostgreSQL is running chief!"
10
fi
11
12
python manage.py migrate
0 commit comments