Skip to content

Commit 92cc562

Browse files
author
Richard Capraro
committed
fix(docker-compose): Use the recommended PG_DATA for PG > 18+ (see docker-library/postgres#1259)
1 parent 377d73e commit 92cc562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ services:
4848
ports:
4949
- "5432:5432"
5050
volumes:
51-
- postgres-data:/var/lib/postgresql/data
51+
- postgres-data:/var/lib/postgresql
5252
- ./postgres-init.sql:/docker-entrypoint-initdb.d/postgres-init.sql
5353
healthcheck:
5454
test: [ "CMD-SHELL", "pg_isready -U postgres" ]

0 commit comments

Comments
 (0)