Skip to content

Commit 206de27

Browse files
authored
Use model cache for web_retriever docker compose tests. (opea-project#1461)
Use model cache for web_retriever docker compose tests Signed-off-by: ZePan110 <[email protected]>
1 parent d58d320 commit 206de27

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

comps/web_retrievers/deployment/docker_compose/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
ports:
2828
- ${TEI_PORT:-6060}:80
2929
volumes:
30-
- "./data:/data"
30+
- "${DATA_PATH-./data}:/data"
3131
shm_size: 1g
3232
environment:
3333
no_proxy: ${no_proxy}

tests/web_retrievers/test_web_retrievers_google_search.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ip_address=$(hostname -I | awk '{print $1}')
99
export TAG=comps
1010
export WEB_RETRIEVER_PORT=11900
1111
export TEI_PORT=11901
12+
export DATA_PATH=${model_cache}
1213

1314
function build_docker_images() {
1415
cd $WORKPATH

0 commit comments

Comments
 (0)