Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ networks:

services:
postgres:
image: postgres:11-alpine
image: postgres:18-alpine

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Migrate the volume before selecting PostgreSQL 18

When the repository-required bin/ncdd up path loads this file, every deployment still bind-mounts /var/lib/postgresql/data, but the PostgreSQL 18 image moved PGDATA to /var/lib/postgresql/18/docker and its declared volume to /var/lib/postgresql; its entrypoint treats the configured legacy mount as an unused/old database and exits. Consequently, both a fresh stack and an existing PostgreSQL 11 installation fail to start after pulling this change. Update the mount layout and provide an actual major-version data migration before selecting this tag, as required by the official image documentation.

AGENTS.md reference: AGENTS.md:L3-L3

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the deployment guides with the database upgrade

This tag change leaves both docs/deployment.md and docs/deployment_ptBR.md asserting that this Compose file currently uses postgres:11-alpine, while also warning users not to swap PostgreSQL majors against an existing data directory. Besides making the documented configuration inaccurate, omitting the required 11-to-18 migration procedure directs existing users into the startup failure introduced here; update both guides and include the supported migration steps with the image change.

Useful? React with 👍 / 👎.

restart: always
volumes:
- ./volumes/postgres/data:/var/lib/postgresql/data
Expand Down
Loading