From 19c009f6b808a4749363412c753bca4ceb3ed15a Mon Sep 17 00:00:00 2001 From: Ulrich Zorn <58443149+Uli-Z@users.noreply.github.com> Date: Thu, 13 Nov 2025 16:34:22 +0100 Subject: [PATCH] fix(db): Correct local db script volume mount for modern postgres images (minimal fix) (#460) The scripts/start-local-db.sh script was failing for modern PostgreSQL Docker images (version 18+) due to an incorrect volume mount point. This commit provides a minimal fix by changing the volume mount from /var/lib/postgresql/data to /var/lib/postgresql, which is the correct path for modern postgres images. --- scripts/start-local-db.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start-local-db.sh b/scripts/start-local-db.sh index b05fded..257b4b2 100755 --- a/scripts/start-local-db.sh +++ b/scripts/start-local-db.sh @@ -6,6 +6,6 @@ else echo "postgres is not running, starting it" docker rm postgres --force mkdir -p postgres-data - docker run --name spliit-db -d -p 5432:5432 -e POSTGRES_PASSWORD=1234 -v "/$(pwd)/postgres-data:/var/lib/postgresql/data" postgres + docker run --name spliit-db -d -p 5432:5432 -e POSTGRES_PASSWORD=1234 -v "/$(pwd)/postgres-data:/var/lib/postgresql" postgres sleep 5 # Wait for postgres to start -fi +fi \ No newline at end of file