kopia lustrzana https://github.com/wagtail/bakerydemo
Don't print all databases during entrypoint check
rodzic
a733d61a48
commit
46711111bc
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
until psql $DATABASE_URL -c '\l'; do
|
until psql $DATABASE_URL -c '\q'; do
|
||||||
>&2 echo "Postgres is unavailable - sleeping"
|
>&2 echo "Postgres is unavailable - sleeping"
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
Ładowanie…
Reference in New Issue