mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-02 02:39:51 +00:00

* first running version of eval mode * restructuring, new naming of elements and testing * add new files to Docker, how to start with Haystack reference, remove not needed dependencies * Add latest docstring and tutorial changes * merged changes * fixing bugs after breaking changes from last release * newser version of states in streamlit, more docs for eval mode, eval file as env virable * eval file as env variable Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
version: "3"
|
|
services:
|
|
haystack-api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: "deepset/haystack-cpu:latest"
|
|
ports:
|
|
- 8000:8000
|
|
environment:
|
|
# See rest_api/pipelines.yaml for configurations of Search & Indexing Pipeline.
|
|
- ELASTICSEARCHDOCUMENTSTORE_PARAMS_HOST=elasticsearch
|
|
restart: always
|
|
depends_on:
|
|
- elasticsearch
|
|
command: "/bin/bash -c 'sleep 15 && gunicorn rest_api.application:app -b 0.0.0.0 -k uvicorn.workers.UvicornWorker --workers 1 --timeout 180'"
|
|
elasticsearch:
|
|
# This will start an empty elasticsearch instance (so you have to add your documents yourself)
|
|
#image: "elasticsearch:7.9.2"
|
|
# If you want a demo image instead that is "ready-to-query" with some indexed Game of Thrones articles:
|
|
image: "deepset/elasticsearch-game-of-thrones"
|
|
ports:
|
|
- 9200:9200
|
|
environment:
|
|
- discovery.type=single-node
|
|
ui:
|
|
build:
|
|
context: ui
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 8501:8501
|
|
environment:
|
|
- API_ENDPOINT=http://haystack-api:8000
|
|
- EVAL_FILE=eval_labels_example.csv
|