Skip to content

Pin Postgres Docker image to v17 to avoid breaking changes #4765

@mdkaifansari04

Description

@mdkaifansari04

Description:
Since the default Docker image now pulls Postgres 18, our DB container fails to start because the volume uses the old data directory format (/var/lib/postgresql/data). Postgres 18 expects a new structure and rejects the mount, breaking local dev.

Resolution:
Update docker-compose.yml to use postgres:17 for the DB image. This pins the Postgres version and avoids the incompatible data directory error until we have time to plan a migration to 18.

References:

Error while spinning up the container for BLT

Image

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions