Skip to content

Commit

Permalink
Fix wait4x
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyRae committed Jul 6, 2024
1 parent cf41a39 commit 9bf399e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ script_dir="/scripts"
temp_dir="/tmp"

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

# Check if the schema already exists
Expand Down

0 comments on commit 9bf399e

Please sign in to comment.