diff --git a/integration_tests/run_postgres.sh b/integration_tests/run_postgres.sh index 308ffe75..463453f2 100755 --- a/integration_tests/run_postgres.sh +++ b/integration_tests/run_postgres.sh @@ -5,8 +5,9 @@ IMAGE_NAME="postgres:14" DB_USER="solana" DB_PASSWORD="solana" DB_NAME="solana" -DB_PATH="$(pwd)/db-data" -ROCKS_DUMP_PATH="$(pwd)/rocks_dump" +SCRIPT_DIR="$(dirname "$(realpath "$0")")" +DB_PATH="$SCRIPT_DIR/db-data" +ROCKS_DUMP_PATH="$SCRIPT_DIR/rocks_dump" HOST_PORT="5432" CONTAINER_PORT="5432"