From bcacfa17b39cb8549ef595a55bed86b3ef67a13f Mon Sep 17 00:00:00 2001 From: Christian Sutter Date: Thu, 28 Nov 2024 16:23:12 +0000 Subject: [PATCH] `search-api-v2`: Fix missing env in stacks I originally added this to the `app` stack, but the `lite` stack and worker should have it too! --- projects/search-api-v2/docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/search-api-v2/docker-compose.yml b/projects/search-api-v2/docker-compose.yml index 04edfab6..11da2eae 100644 --- a/projects/search-api-v2/docker-compose.yml +++ b/projects/search-api-v2/docker-compose.yml @@ -27,6 +27,7 @@ services: RABBITMQ_URL: amqp://guest:guest@rabbitmq REDIS_URL: redis://search-api-v2-redis PUBLISHED_DOCUMENTS_MESSAGE_QUEUE_NAME: search_api_v2_published_documents + GOOGLE_CLOUD_PROJECT_ID: none DISCOVERY_ENGINE_DATASTORE: none DISCOVERY_ENGINE_DATASTORE_BRANCH: none DISCOVERY_ENGINE_SERVING_CONFIG: none @@ -68,10 +69,11 @@ services: # The fully qualified ID of the datastore, branch and serving config on the Discovery Engine # integration environment (required to use Discovery Engine locally). # + GOOGLE_CLOUD_PROJECT_ID: "search-api-v2-integration" DISCOVERY_ENGINE_DATASTORE: "projects/search-api-v2-integration/locations/global/collections/default_collection/dataStores/govuk_content" DISCOVERY_ENGINE_DATASTORE_BRANCH: "projects/search-api-v2-integration/locations/global/collections/default_collection/dataStores/govuk_content/branches/default_branch" DISCOVERY_ENGINE_SERVING_CONFIG: "projects/search-api-v2-integration/locations/global/collections/default_collection/dataStores/govuk_content/servingConfigs/default_search" command: bin/rake document_sync_worker:run search-api-v2-redis: - image: redis \ No newline at end of file + image: redis