mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-07 20:46:31 +00:00
Add a restart policy on-failure to all containers
This commit is contained in:
parent
171fd7be38
commit
fd184d607f
@ -18,6 +18,7 @@ services:
|
||||
# - ./rest_api/pipeline:/home/user/rest_api/pipeline
|
||||
ports:
|
||||
- 8000:8000
|
||||
restart: on-failure
|
||||
environment:
|
||||
# See rest_api/pipelines.yaml for configurations of Search & Indexing Pipeline.
|
||||
- DOCUMENTSTORE_PARAMS_HOST=elasticsearch
|
||||
@ -31,6 +32,7 @@ services:
|
||||
image: "deepset/elasticsearch-game-of-thrones"
|
||||
ports:
|
||||
- 9200:9200
|
||||
restart: on-failure
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
ui:
|
||||
@ -40,6 +42,7 @@ services:
|
||||
image: "deepset/haystack-streamlit-ui:latest"
|
||||
ports:
|
||||
- 8501:8501
|
||||
restart: on-failure
|
||||
environment:
|
||||
- API_ENDPOINT=http://haystack-api:8000
|
||||
- EVAL_FILE=eval_labels_example.csv
|
||||
|
||||
@ -10,6 +10,7 @@ services:
|
||||
# - ./rest_api/pipeline:/home/user/rest_api/pipeline
|
||||
ports:
|
||||
- 8000:8000
|
||||
restart: on-failure
|
||||
environment:
|
||||
# See rest_api/pipelines.yaml for configurations of Search & Indexing Pipeline.
|
||||
- DOCUMENTSTORE_PARAMS_HOST=elasticsearch
|
||||
@ -23,6 +24,7 @@ services:
|
||||
image: "deepset/elasticsearch-game-of-thrones"
|
||||
ports:
|
||||
- 9200:9200
|
||||
restart: on-failure
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
ui:
|
||||
@ -32,6 +34,7 @@ services:
|
||||
image: "deepset/haystack-streamlit-ui:latest"
|
||||
ports:
|
||||
- 8501:8501
|
||||
restart: on-failure
|
||||
environment:
|
||||
- API_ENDPOINT=http://haystack-api:8000
|
||||
- EVAL_FILE=eval_labels_example.csv
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user