Skip to content

Commit 9bf399e

Browse files
committed
Fix wait4x
1 parent cf41a39 commit 9bf399e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ script_dir="/scripts"
1818
temp_dir="/tmp"
1919

2020
echo "Waiting for the Database.."
21-
wait4x tcp://${DB_HOST}:${DB_PORT} --timeout 60
21+
wait4x postgresql postgres://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}?sslmode=disable --timeout 60s
2222
echo "Database is up - continuing.."
2323

2424
# Check if the schema already exists

0 commit comments

Comments
 (0)