Skip to content

Conversation

@ForestRealms
Copy link

Fixes PostgreSQL volume mount path inconsistency in the java-postgres template.

The volume path for the db service is updated to the standardized mount point: /var/lib/postgresql. The current configuration of mounting the volume to /var/lib/postgresql/data is now considered legacy. For latest version of PostgreSQL, mounting directly to /var/lib/postgresql is the recommended best practice, enabling the container's internal entrypoint to correctly manage the version-specific PGDATA subdirectory. This change ensures configuration alignment with the standalone postgres template (as established in PR #369) and improves long-term stability.

Verified working in a local development environment.

@ForestRealms ForestRealms requested a review from a team as a code owner December 12, 2025 14:21
@ForestRealms ForestRealms changed the title [java-postgres] Correct the volume mount path to support the latest version of postgres [java-postgres] - Correct the volume mount path to support the latest version of postgres Dec 12, 2025
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