Skip to content

Commit dd1a22d

Browse files
FRosnerclaude
authored andcommitted
fix: pin postgres to version 17 to avoid data directory incompatibility
Postgres 18+ changed the default data directory structure, causing startup failures when using an existing volume mounted at /var/lib/postgresql/data. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8571152 commit dd1a22d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3"
22

33
services:
44
postgres:
5-
image: postgres
5+
image: postgres:17
66
healthcheck:
77
test: psql postgres --command "select 1" -U postgres
88
volumes:

0 commit comments

Comments
 (0)