From aef009c3a2f90abdcc3db2890d9637d9bb61a463 Mon Sep 17 00:00:00 2001 From: Christian Sutter Date: Wed, 20 Sep 2023 15:21:28 +0100 Subject: [PATCH] Amend `search-api-v2` configuration - Make MQ name for `search-api-v2` configurable - Call new renamed Rake task --- projects/search-api-v2/docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/search-api-v2/docker-compose.yml b/projects/search-api-v2/docker-compose.yml index a12b99d1..eb767a93 100644 --- a/projects/search-api-v2/docker-compose.yml +++ b/projects/search-api-v2/docker-compose.yml @@ -21,6 +21,7 @@ services: - rabbitmq environment: RABBITMQ_URL: amqp://guest:guest@rabbitmq + PUBLISHING_EVENT_MESSAGE_QUEUE_NAME: search_api_v2_published_documents search-api-v2-app: <<: *search-api-v2 @@ -30,6 +31,7 @@ services: - search-api-v2-worker-consume-published-documents environment: RABBITMQ_URL: amqp://guest:guest@rabbitmq + PUBLISHING_EVENT_MESSAGE_QUEUE_NAME: search_api_v2_published_documents RAILS_DEVELOPMENT_HOSTS: search-api-v2.dev.gov.uk VIRTUAL_HOST: search-api-v2.dev.gov.uk BINDING: 0.0.0.0 @@ -43,4 +45,5 @@ services: - rabbitmq environment: RABBITMQ_URL: amqp://guest:guest@rabbitmq - command: bin/rails message_queue:consume_published_documents + PUBLISHING_EVENT_MESSAGE_QUEUE_NAME: search_api_v2_published_documents + command: bin/rake publishing_event_pipeline:process_messages