Repository navigation
Upgrade Postgres image to version 18-alpine #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ networks: | |
|
|
||
| services: | ||
| postgres: | ||
| image: postgres:11-alpine | ||
| image: postgres:18-alpine | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This tag change leaves both Useful? React with 👍 / 👎. |
||
| restart: always | ||
| volumes: | ||
| - ./volumes/postgres/data:/var/lib/postgresql/data | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the repository-required
bin/ncdd uppath loads this file, every deployment still bind-mounts/var/lib/postgresql/data, but the PostgreSQL 18 image movedPGDATAto/var/lib/postgresql/18/dockerand 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 👍 / 👎.