|
|
@ -28,7 +28,7 @@ fi |
|
|
|
|
|
|
|
|
if [ "$DATABASE_TYPE" == "sql" ]; then |
|
|
if [ "$DATABASE_TYPE" == "sql" ]; then |
|
|
if [ "$SPRING_DRIVER_CLASS_NAME" == "org.postgresql.Driver" ]; then |
|
|
if [ "$SPRING_DRIVER_CLASS_NAME" == "org.postgresql.Driver" ]; then |
|
|
until nmap $POSTGRES_HOST -p $POSTGRES_PORT | grep "$POSTGRES_PORT/tcp open\filtered" |
|
|
until nmap $POSTGRES_HOST -p $POSTGRES_PORT | grep "$POSTGRES_PORT/tcp open" |
|
|
do |
|
|
do |
|
|
echo "Waiting for postgres db to start..." |
|
|
echo "Waiting for postgres db to start..." |
|
|
sleep 10 |
|
|
sleep 10 |
|
|
|