Skip to content

Commit 8509722

Browse files
committed
fix: update postgres volume mount for Postgres 18+ compatibility
Changed volume mount from /var/lib/postgresql/data to /var/lib/postgresql to match the new directory structure in Postgres 18+. This fixes the error: 'these Docker images are configured to store database data in a format which is compatible with pg_ctlcluster' See: docker-library/postgres#1259
1 parent 15ccda7 commit 8509722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
retries: 10
1818
start_period: 10s
1919
volumes:
20-
- postgres-test-data:/var/lib/postgresql/data
20+
- postgres-test-data:/var/lib/postgresql
2121

2222
clickhouse-test:
2323
image: clickhouse/clickhouse-server:latest

0 commit comments

Comments
 (0)