Closed ghost closed 4 years ago
Yes, the docker expects an elasticsearch instance running (where the documents are indexed). You could spawn one locally with:
docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.5.1
(and index the data yourself via https://github.com/deepset-ai/COVID-QA/blob/master/backend/data_ingestion.py )
or try:
docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" deepset/covid-qa-elastic
(already comes with a few docs for dev).
I will add tomorrow an updated docker-compose file and adjust the docs.
Thank you. I am able to run the deepset/covid-qa-elastic
container image with the docs for dev but still get the same error when trying to launch the backend container locally.
I will wait for your docker-compose file and give it another shot tomorrow using docker-compose.
@ryan-nervana please have a look at the updated docker-compose.yml and docs from #80 and let me know in case any further problems arise.
I tried using the docker-compose file. The service model-api
is looking for a module covid_nlp
. Here is where it fails when I run docker-compose up
model-api_1 | ModuleNotFoundError: No module named 'covid_nlp'
covid-qa_model-api_1 exited with code 1
Should be fixed by 34e169790195800ebe1a17ac2843429258ea38cc. Can you try building a new image or just pulling deepset/covid-qa-haystack
.
Sorry for the trouble here. The project is really moving fast these days ;)
I tried a few days ago and looks good. I will close this now.
I followed the instructions here https://github.com/deepset-ai/COVID-QA/tree/master/backend. Perhaps a port is not configured correctly?