File tree Expand file tree Collapse file tree
comps/third_parties/tei/deployment/docker_compose Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ services:
99 ports :
1010 - " ${TEI_EMBEDDER_PORT:-12000}:80"
1111 volumes :
12- - " ./data:/data"
12+ - " ${DATA_PATH- ./data} :/data"
1313 shm_size : 1g
1414 environment :
1515 no_proxy : ${no_proxy}
@@ -30,7 +30,7 @@ services:
3030 ports :
3131 - " ${TEI_RERANKING_PORT:-12003}:80"
3232 volumes :
33- - " ./data:/data"
33+ - " ${DATA_PATH- ./data} :/data"
3434 shm_size : 1g
3535 environment :
3636 no_proxy : ${no_proxy}
@@ -51,7 +51,7 @@ services:
5151 ports :
5252 - ${TEI_RERANKING_PORT:-12004}:80
5353 volumes :
54- - " ./data:/data"
54+ - " ${DATA_PATH- ./data} :/data"
5555 shm_size : 1g
5656 environment :
5757 no_proxy : ${no_proxy}
Original file line number Diff line number Diff line change 77
88WORKPATH=$( dirname " $PWD " )
99ip_address=$( hostname -I | awk ' {print $1}' )
10+ export DATA_PATH=${model_cache}
1011
1112function build_docker_images() {
1213 cd $WORKPATH
You can’t perform that action at this time.
0 commit comments