Skip to content

Commit

Permalink
Merge pull request #690 from alphagov/sav2-mq-name
Browse files Browse the repository at this point in the history
Amend `search-api-v2` configuration
  • Loading branch information
csutter authored Sep 26, 2023
2 parents f1640af + aef009c commit db2be3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/search-api-v2/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit db2be3e

Please sign in to comment.