11 lines
151 B
Bash
Executable File
11 lines
151 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Waiting for postgres..."
|
|
|
|
while ! nc -z users-db 5432; do
|
|
sleep 0.1
|
|
done
|
|
|
|
echo "PostgreSQL started"
|
|
|
|
python manage.py run -h 0.0.0.0 |