Skip to content

Upgrade Postgres image to version 18-alpine - #96

Open
henmohr wants to merge 1 commit into
mainfrom
henmohr-patch-1
Open

henmohr wants to merge 1 commit into
mainfrom
henmohr-patch-1

Conversation

@henmohr

@henmohr henmohr commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: henmohr <henriquemohr@redes.ufsm.br>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T15:52:39.171302Z f13eaa4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@henmohr
henmohr requested a review from YvesCesar November 6, 2026 15:51

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f13eaa4749

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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 👍 / 👎.

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.

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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant