Skip to content

Update local dev environment to postgres 18#12236

Merged
mekarpeles merged 2 commits intointernetarchive:masterfrom
cdrini:refactor/psql-18
Apr 1, 2026
Merged

Update local dev environment to postgres 18#12236
mekarpeles merged 2 commits intointernetarchive:masterfrom
cdrini:refactor/psql-18

Conversation

@cdrini
Copy link
Copy Markdown
Collaborator

@cdrini cdrini commented Mar 31, 2026

Part of #12199 .

Note this will require everyone to run:

docker compose down
docker volume rm -f openlibrary_ol-postgres
docker compose up -d

To reset the local database.

Technical

Testing

Locally works!

Screenshot

Stakeholders

@mekarpeles @jimchamp

Copilot AI review requested due to automatic review settings March 31, 2026 18:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the local Docker Compose override to run the dev database on a newer PostgreSQL version as part of the ongoing PostgreSQL 18 migration work.

Changes:

  • Bump the default db service image from postgres:9.3 to postgres:18.3.
  • Change the ol-postgres volume mount path for the db service.

Comment thread compose.override.yaml Outdated
Comment thread compose.override.yaml
@mekarpeles mekarpeles merged commit a127ed8 into internetarchive:master Apr 1, 2026
3 checks passed
@mekarpeles mekarpeles self-assigned this Apr 1, 2026
@cdrini cdrini deleted the refactor/psql-18 branch April 1, 2026 22:36
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.

3 participants