From 7e398bdcf2b9916145de06afe638456d539e0885 Mon Sep 17 00:00:00 2001 From: Nigel Tan Date: Thu, 9 Jun 2022 15:46:21 +0800 Subject: [PATCH] Update docker-compse.yml due to m1 mac incompatible, as per https://github.com/deepset-ai/haystack/issues/1443 --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c2685be7be..85ed452e02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,10 +23,10 @@ services: command: "/bin/bash -c 'sleep 10 && gunicorn rest_api.application:app -b 0.0.0.0 -k uvicorn.workers.UvicornWorker --workers 2 --timeout 180'" elasticsearch: # This will start an empty elasticsearch instance (so you have to add your documents yourself) - #image: "elasticsearch:7.9.2" + image: "elasticsearch:7.9.2" # If you want a demo image instead that is "ready-to-query" with some indexed articles # about countries and capital cities from Wikipedia: - image: "deepset/elasticsearch-countries-and-capitals" + #image: "deepset/elasticsearch-countries-and-capitals" ports: - 9200:9200 restart: on-failure @@ -43,7 +43,7 @@ services: environment: - API_ENDPOINT=http://haystack-api:8000 - EVAL_FILE=eval_labels_example.csv - # The value fot the following variables will be read from the host, if present. + # The value for the following variables will be read from the host, if present. # They can also be temporarily set for docker-compose, for example: # DISABLE_FILE_UPLOAD=1 DEFAULT_DOCS_FROM_RETRIEVER=5 docker-compose up - DISABLE_FILE_UPLOAD