From a9a18bc2d820e972c8e0c8016a294454f6179fe5 Mon Sep 17 00:00:00 2001 From: turegjorup Date: Sun, 8 Nov 2026 21:19:38 +0100 Subject: [PATCH 1/3] chore: update Elasticsearch to 8.19.23 and remove unused RabbitMQ Elasticsearch 8.19.23 is the same version as in event-database-imports. The API does not use RabbitMQ (no messenger or amqp). --- .github/workflows/api-spec.yml | 2 +- .github/workflows/pr.yaml | 4 ++-- docker-compose.override.yml | 17 +---------------- 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/api-spec.yml b/.github/workflows/api-spec.yml index b53a1d8..93e3072 100644 --- a/.github/workflows/api-spec.yml +++ b/.github/workflows/api-spec.yml @@ -38,7 +38,7 @@ jobs: run: | docker network create frontend # The spec export only needs PHP — pull phpfpm alone and run it as a - # one-off (--no-deps skips mariadb/rabbit), not the whole stack. + # one-off (--no-deps skips mariadb), not the whole stack. docker compose pull --quiet phpfpm docker compose run --rm --no-deps phpfpm composer install --no-interaction diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index b43bd59..16e48a2 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -23,8 +23,8 @@ jobs: - name: Start docker compose setup and install site run: | docker network create frontend - # API tests need PHP + Elasticsearch only (not mariadb/rabbit/nginx/mail); - # --no-deps keeps phpfpm's mariadb/rabbit dependencies from starting. + # API tests need PHP + Elasticsearch only (not mariadb/nginx/mail); + # --no-deps keeps phpfpm's mariadb dependency from starting. docker compose pull --quiet phpfpm elasticsearch docker compose up --detach --wait --no-deps phpfpm elasticsearch docker compose exec -T phpfpm composer install --no-interaction diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 9928b01..b61c9dc 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -2,21 +2,6 @@ services: phpfpm: networks: - frontend - depends_on: - # - elasticsearch - - rabbit - - rabbit: - image: rabbitmq:3.12.4-management-alpine - networks: - - app - - frontend - ports: - - "15672" - environment: - - RABBITMQ_DEFAULT_USER=user - - RABBITMQ_DEFAULT_PASS=password - - RABBITMQ_ERLANG_COOKIE='d53f319cd7376f8f840aaf9889f315ab nginx: environment: @@ -32,7 +17,7 @@ services: - "traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host(`${COMPOSE_DOMAIN}`) && (PathPrefix(`${APP_PATH_PREFIX}`) || PathPrefix(`/_wdt`) || PathPrefix(`/_profiler`))" elasticsearch: - image: elasticsearch:8.19.18 + image: elasticsearch:8.19.23 networks: - app - frontend From e96fef17166e14ab4d7c6e01200736d4329a0fdb Mon Sep 17 00:00:00 2001 From: turegjorup Date: Sun, 8 Nov 2026 21:20:19 +0100 Subject: [PATCH 2/3] docs: add CHANGELOG entry for image updates --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e7cd97..b0a8d6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ See [keep a changelog] for information about writing changes to this log. ## [Unreleased] +- [PR-XX](https://github.com/itk-dev/event-database-api/pull/XX) + Update Elasticsearch to 8.19.23 and remove the unused RabbitMQ service - [PR-71](https://github.com/itk-dev/event-database-api/pull/71) Require PHP 8.5 and apply the Rector PHP 8.5 rules From 954362618c15b39fa8d1e3a6d8dd7abc5f22dd54 Mon Sep 17 00:00:00 2001 From: turegjorup Date: Sun, 8 Nov 2026 21:20:37 +0100 Subject: [PATCH 3/3] docs: set PR number in CHANGELOG entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0a8d6d..4581655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ See [keep a changelog] for information about writing changes to this log. ## [Unreleased] -- [PR-XX](https://github.com/itk-dev/event-database-api/pull/XX) +- [PR-72](https://github.com/itk-dev/event-database-api/pull/72) Update Elasticsearch to 8.19.23 and remove the unused RabbitMQ service - [PR-71](https://github.com/itk-dev/event-database-api/pull/71) Require PHP 8.5 and apply the Rector PHP 8.5 rules