@@ -20,10 +20,10 @@ services:
20
20
no_proxy : ${no_proxy}
21
21
http_proxy : ${http_proxy}
22
22
https_proxy : ${https_proxy}
23
- REDIS_URL : ${REDIS_URL}
24
- REDIS_HOST : ${REDIS_HOST}
23
+ REDIS_URL : redis://redis-vector-db:6379
24
+ REDIS_HOST : redis-vector-db
25
25
INDEX_NAME : ${INDEX_NAME}
26
- TEI_ENDPOINT : ${TEI_EMBEDDING_ENDPOINT}
26
+ TEI_ENDPOINT : http://tei-embedding-service:80
27
27
HUGGINGFACEHUB_API_TOKEN : ${HUGGINGFACEHUB_API_TOKEN}
28
28
tei-embedding-service :
29
29
image : ghcr.io/huggingface/text-embeddings-inference:cpu-1.5
@@ -39,13 +39,6 @@ services:
39
39
http_proxy : ${http_proxy}
40
40
https_proxy : ${https_proxy}
41
41
command : --model-id ${EMBEDDING_MODEL_ID} --auto-truncate
42
- deploy :
43
- resources :
44
- reservations :
45
- devices :
46
- - driver : nvidia
47
- count : 1
48
- capabilities : [gpu]
49
42
retriever :
50
43
image : ${REGISTRY:-opea}/retriever-redis:${TAG:-latest}
51
44
container_name : retriever-redis-server
@@ -58,12 +51,13 @@ services:
58
51
no_proxy : ${no_proxy}
59
52
http_proxy : ${http_proxy}
60
53
https_proxy : ${https_proxy}
61
- REDIS_URL : ${REDIS_URL}
54
+ REDIS_URL : redis://redis-vector-db:6379
55
+ REDIS_HOST : redis-vector-db
62
56
INDEX_NAME : ${INDEX_NAME}
63
57
TEI_EMBEDDING_ENDPOINT : ${TEI_EMBEDDING_ENDPOINT}
64
58
restart : unless-stopped
65
59
tei-reranking-service :
66
- image : ghcr.io/huggingface/text-embeddings-inference:cpu- 1.5
60
+ image : ghcr.io/huggingface/text-embeddings-inference:1.5
67
61
container_name : tei-reranking-server
68
62
ports :
69
63
- " 8808:80"
@@ -123,11 +117,14 @@ services:
123
117
- no_proxy=${no_proxy}
124
118
- https_proxy=${https_proxy}
125
119
- http_proxy=${http_proxy}
126
- - MEGA_SERVICE_HOST_IP=${MEGA_SERVICE_HOST_IP}
127
- - EMBEDDING_SERVICE_HOST_IP=${EMBEDDING_SERVICE_HOST_IP}
128
- - RETRIEVER_SERVICE_HOST_IP=${RETRIEVER_SERVICE_HOST_IP}
129
- - RERANK_SERVICE_HOST_IP=${RERANK_SERVICE_HOST_IP}
130
- - LLM_SERVICE_HOST_IP=${LLM_SERVICE_HOST_IP}
120
+ - MEGA_SERVICE_HOST_IP=chaqna-backend-server
121
+ - EMBEDDING_SERVER_HOST_IP=tei-embedding-service
122
+ - EMBEDDING_SERVER_PORT=${EMBEDDING_SERVER_PORT:-80}
123
+ - RETRIEVER_SERVICE_HOST_IP=retriever
124
+ - RERANK_SERVER_HOST_IP=tei-reranking-service
125
+ - RERANK_SERVER_PORT=${RERANK_SERVER_PORT:-80}
126
+ - LLM_SERVER_HOST_IP=tgi-service
127
+ - LLM_SERVER_PORT=${LLM_SERVER_PORT:-80}
131
128
ipc : host
132
129
restart : always
133
130
chaqna-ui-server :
0 commit comments