Skip to content

chore(docker): bump PostgreSQL to 18.1 and MySQL to 8.4.10#9003

Open
DoDiODev wants to merge 1 commit into
apache:mainfrom
DoDiODev:pr/db-version-bumps
Open

chore(docker): bump PostgreSQL to 18.1 and MySQL to 8.4.10#9003
DoDiODev wants to merge 1 commit into
apache:mainfrom
DoDiODev:pr/db-version-bumps

Conversation

@DoDiODev

@DoDiODev DoDiODev commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Bump the database engine images used by the local dev, devcontainer, temporal deployment and remote e2e compose files:

  • PostgreSQL 17.2 (dev) / 14.2-alpine (e2e) -> 18.1 / 18.1-alpine
  • MySQL 8 / 8.0.26 -> 8.4.10

Details

  • PostgreSQL 18 volume mount (e2e): backend/test/e2e/remote/docker-compose.test.yml now mounts the postgres-test volume at /var/lib/postgresql (the parent of PostgreSQL 18's new versioned data directory) instead of the legacy /var/lib/postgresql/data, matching the layout already used by docker-compose-dev-postgresql.yml.
  • Grafana datasource provisioning: grafana/scripts/entrypoint.sh sets postgresVersion to 1800 so the provisioned PostgreSQL datasource targets PostgreSQL 18.

Related / dependencies

Out of scope

  • Grafana database env parametrization / port changes.
  • Any Go, Python, Node, or dashboard changes.

Testing

  • docker compose config -q passes for all changed compose files.
  • bash -n grafana/scripts/entrypoint.sh passes.
  • Manual gate — MySQL: fresh database starts, migrations run, smoke flow OK, data persists across restart.
  • Manual gate — PostgreSQL 18: fresh database with FORCE_MIGRATION=true, container starts and accepts connections, migrations complete (with fix(dalgorm): make DropIndexes idempotent by skipping missing indexes #9001 applied), /ready OK, Grafana datasource targets PG18; volume persists across restart.

Rollback

Revert this commit to restore the previous image tags and the legacy e2e volume mount.

Bump database engine images across the dev, devcontainer, temporal deployment and remote e2e compose files: PostgreSQL 17.2/14.2 to 18.1 and MySQL 8/8.0.26 to 8.4.10.

For PostgreSQL 18 the remote e2e volume is mounted at /var/lib/postgresql (parent of the new versioned data dir) instead of /var/lib/postgresql/data, and the Grafana datasource provisioning sets postgresVersion to 1800.

Grafana database env parametrization is intentionally out of scope.

Signed-off-by: DoDiODev <DoDiDev@proton.me>
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