Skip to content

Commit c1da28d

Browse files
SpievStefanclaude
authored
fix: Downgrade PostgreSQL 18 → 17 (#10)
PostgreSQL 18 Docker images changed data directory structure, requiring pg_upgrade for existing databases. Downgrade to 17 to restore functionality without migration. See: docker-library/postgres#1259 Co-authored-by: Stefan <githubspiev@gmail.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ae6c8a6 commit c1da28d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

paperless/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ services:
3535
volumes:
3636
- ./redisdata:/data
3737
db:
38-
image: docker.io/library/postgres:18
38+
image: docker.io/library/postgres:17
3939
restart: unless-stopped
4040
volumes:
4141
- ./postgres:/var/lib/postgresql/data

teslamate/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525
- teslamate-db
2626

2727
teslamate-db:
28-
image: postgres:18-alpine
28+
image: postgres:17-alpine
2929
container_name: teslamate-db
3030
restart: unless-stopped
3131
environment:

0 commit comments

Comments
 (0)