File tree Expand file tree Collapse file tree 19 files changed +203
-13
lines changed Expand file tree Collapse file tree 19 files changed +203
-13
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,25 @@ services:
128
128
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
129
129
ipc : host
130
130
restart : always
131
+ chaqna-aipc-nginx-server :
132
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
133
+ container_name : chaqna-aipc-nginx-server
134
+ depends_on :
135
+ - chaqna-aipc-backend-server
136
+ - chaqna-aipc-ui-server
137
+ ports :
138
+ - " ${NGINX_PORT:-80}:80"
139
+ environment :
140
+ - no_proxy=${no_proxy}
141
+ - https_proxy=${https_proxy}
142
+ - http_proxy=${http_proxy}
143
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
144
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
145
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
146
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
147
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
148
+ ipc : host
149
+ restart : always
131
150
132
151
networks :
133
152
default :
Original file line number Diff line number Diff line change @@ -131,6 +131,25 @@ services:
131
131
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
132
132
ipc : host
133
133
restart : always
134
+ chaqna-xeon-nginx-server :
135
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
136
+ container_name : chaqna-xeon-nginx-server
137
+ depends_on :
138
+ - chaqna-xeon-backend-server
139
+ - chaqna-xeon-ui-server
140
+ ports :
141
+ - " ${NGINX_PORT:-80}:80"
142
+ environment :
143
+ - no_proxy=${no_proxy}
144
+ - https_proxy=${https_proxy}
145
+ - http_proxy=${http_proxy}
146
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
147
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
148
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
149
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
150
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
151
+ ipc : host
152
+ restart : always
134
153
135
154
networks :
136
155
default :
Original file line number Diff line number Diff line change @@ -130,6 +130,25 @@ services:
130
130
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
131
131
ipc : host
132
132
restart : always
133
+ chaqna-xeon-nginx-server :
134
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
135
+ container_name : chaqna-xeon-nginx-server
136
+ depends_on :
137
+ - chaqna-xeon-backend-server
138
+ - chaqna-xeon-ui-server
139
+ ports :
140
+ - " ${NGINX_PORT:-80}:80"
141
+ environment :
142
+ - no_proxy=${no_proxy}
143
+ - https_proxy=${https_proxy}
144
+ - http_proxy=${http_proxy}
145
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
146
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
147
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
148
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
149
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
150
+ ipc : host
151
+ restart : always
133
152
134
153
networks :
135
154
default :
Original file line number Diff line number Diff line change @@ -131,6 +131,25 @@ services:
131
131
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
132
132
ipc : host
133
133
restart : always
134
+ chaqna-xeon-nginx-server :
135
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
136
+ container_name : chaqna-xeon-nginx-server
137
+ depends_on :
138
+ - chaqna-xeon-backend-server
139
+ - chaqna-xeon-ui-server
140
+ ports :
141
+ - " ${NGINX_PORT:-80}:80"
142
+ environment :
143
+ - no_proxy=${no_proxy}
144
+ - https_proxy=${https_proxy}
145
+ - http_proxy=${http_proxy}
146
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
147
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
148
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
149
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
150
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
151
+ ipc : host
152
+ restart : always
134
153
135
154
networks :
136
155
default :
Original file line number Diff line number Diff line change @@ -112,6 +112,25 @@ services:
112
112
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
113
113
ipc : host
114
114
restart : always
115
+ chaqna-xeon-nginx-server :
116
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
117
+ container_name : chaqna-xeon-nginx-server
118
+ depends_on :
119
+ - chaqna-xeon-backend-server
120
+ - chaqna-xeon-ui-server
121
+ ports :
122
+ - " ${NGINX_PORT:-80}:80"
123
+ environment :
124
+ - no_proxy=${no_proxy}
125
+ - https_proxy=${https_proxy}
126
+ - http_proxy=${http_proxy}
127
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
128
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
129
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
130
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
131
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
132
+ ipc : host
133
+ restart : always
115
134
116
135
networks :
117
136
default :
Original file line number Diff line number Diff line change @@ -144,6 +144,25 @@ services:
144
144
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
145
145
ipc : host
146
146
restart : always
147
+ chaqna-gaudi-nginx-server :
148
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
149
+ container_name : chaqna-gaudi-nginx-server
150
+ depends_on :
151
+ - chaqna-gaudi-backend-server
152
+ - chaqna-gaudi-ui-server
153
+ ports :
154
+ - " ${NGINX_PORT:-80}:80"
155
+ environment :
156
+ - no_proxy=${no_proxy}
157
+ - https_proxy=${https_proxy}
158
+ - http_proxy=${http_proxy}
159
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
160
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
161
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
162
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
163
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
164
+ ipc : host
165
+ restart : always
147
166
148
167
networks :
149
168
default :
Original file line number Diff line number Diff line change @@ -185,6 +185,25 @@ services:
185
185
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
186
186
ipc : host
187
187
restart : always
188
+ chaqna-gaudi-nginx-server :
189
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
190
+ container_name : chaqna-gaudi-nginx-server
191
+ depends_on :
192
+ - chaqna-gaudi-backend-server
193
+ - chaqna-gaudi-ui-server
194
+ ports :
195
+ - " ${NGINX_PORT:-80}:80"
196
+ environment :
197
+ - no_proxy=${no_proxy}
198
+ - https_proxy=${https_proxy}
199
+ - http_proxy=${http_proxy}
200
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
201
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
202
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
203
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
204
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
205
+ ipc : host
206
+ restart : always
188
207
189
208
networks :
190
209
default :
Original file line number Diff line number Diff line change @@ -137,6 +137,25 @@ services:
137
137
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
138
138
ipc : host
139
139
restart : always
140
+ chaqna-gaudi-nginx-server :
141
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
142
+ container_name : chaqna-gaudi-nginx-server
143
+ depends_on :
144
+ - chaqna-gaudi-backend-server
145
+ - chaqna-gaudi-ui-server
146
+ ports :
147
+ - " ${NGINX_PORT:-80}:80"
148
+ environment :
149
+ - no_proxy=${no_proxy}
150
+ - https_proxy=${https_proxy}
151
+ - http_proxy=${http_proxy}
152
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
153
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
154
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
155
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
156
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
157
+ ipc : host
158
+ restart : always
140
159
141
160
networks :
142
161
default :
Original file line number Diff line number Diff line change @@ -137,6 +137,25 @@ services:
137
137
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
138
138
ipc : host
139
139
restart : always
140
+ chaqna-gaudi-nginx-server :
141
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
142
+ container_name : chaqna-gaudi-nginx-server
143
+ depends_on :
144
+ - chaqna-gaudi-backend-server
145
+ - chaqna-gaudi-ui-server
146
+ ports :
147
+ - " ${NGINX_PORT:-80}:80"
148
+ environment :
149
+ - no_proxy=${no_proxy}
150
+ - https_proxy=${https_proxy}
151
+ - http_proxy=${http_proxy}
152
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
153
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
154
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
155
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
156
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
157
+ ipc : host
158
+ restart : always
140
159
141
160
networks :
142
161
default :
Original file line number Diff line number Diff line change @@ -125,6 +125,25 @@ services:
125
125
- DELETE_FILE=${DATAPREP_DELETE_FILE_ENDPOINT}
126
126
ipc : host
127
127
restart : always
128
+ chaqna-gaudi-nginx-server :
129
+ image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
130
+ container_name : chaqna-gaudi-nginx-server
131
+ depends_on :
132
+ - chaqna-gaudi-backend-server
133
+ - chaqna-gaudi-ui-server
134
+ ports :
135
+ - " ${NGINX_PORT:-80}:80"
136
+ environment :
137
+ - no_proxy=${no_proxy}
138
+ - https_proxy=${https_proxy}
139
+ - http_proxy=${http_proxy}
140
+ - FRONTEND_SERVICE_IP=${FRONTEND_SERVICE_IP}
141
+ - FRONTEND_SERVICE_PORT=${FRONTEND_SERVICE_PORT}
142
+ - BACKEND_SERVICE_NAME=${BACKEND_SERVICE_NAME}
143
+ - BACKEND_SERVICE_IP=${BACKEND_SERVICE_IP}
144
+ - BACKEND_SERVICE_PORT=${BACKEND_SERVICE_PORT}
145
+ ipc : host
146
+ restart : always
128
147
129
148
networks :
130
149
default :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna-guardrails chatqna-ui dataprep-redis retriever-redis guardrails-tgi"
22
+ service_list=" chatqna-guardrails chatqna-ui dataprep-redis retriever-redis guardrails-tgi nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.5
@@ -214,7 +214,7 @@ function main() {
214
214
215
215
validate_microservices
216
216
validate_megaservice
217
- # validate_frontend
217
+ validate_frontend
218
218
219
219
stop_docker
220
220
echo y | docker system prune
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna chatqna-ui dataprep-redis retriever-redis"
22
+ service_list=" chatqna chatqna-ui dataprep-redis retriever-redis nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.5
@@ -240,7 +240,7 @@ function main() {
240
240
elif [ " ${mode} " == " " ]; then
241
241
validate_microservices
242
242
validate_megaservice
243
- # validate_frontend
243
+ validate_frontend
244
244
fi
245
245
246
246
stop_docker
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna chatqna-ui chatqna-conversation-ui dataprep-redis retriever-redis"
22
+ service_list=" chatqna chatqna-ui chatqna-conversation-ui dataprep-redis retriever-redis nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.5
@@ -242,8 +242,8 @@ function main() {
242
242
echo " ==== microservices validated ===="
243
243
validate_megaservice
244
244
echo " ==== megaservice validated ===="
245
- # validate_frontend
246
- # echo "==== frontend validated ===="
245
+ validate_frontend
246
+ echo " ==== frontend validated ===="
247
247
fi
248
248
249
249
stop_docker
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna chatqna-ui dataprep-qdrant retriever-qdrant"
22
+ service_list=" chatqna chatqna-ui dataprep-qdrant retriever-qdrant nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker images && sleep 1s
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna chatqna-ui dataprep-redis retriever-redis llm-vllm-hpu"
22
+ service_list=" chatqna chatqna-ui dataprep-redis retriever-redis llm-vllm-hpu nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker pull ghcr.io/huggingface/text-embeddings-inference:cpu-1.5
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function build_docker_images() {
20
20
git clone https://github.com/vllm-project/vllm.git
21
21
22
22
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
23
- service_list=" chatqna chatqna-ui dataprep-redis retriever-redis vllm"
23
+ service_list=" chatqna chatqna-ui dataprep-redis retriever-redis vllm nginx "
24
24
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
25
25
26
26
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.5
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna chatqna-ui dataprep-redis retriever-redis llm-vllm-ray-hpu"
22
+ service_list=" chatqna chatqna-ui dataprep-redis retriever-redis llm-vllm-ray-hpu nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker pull ghcr.io/huggingface/text-embeddings-inference:cpu-1.5
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna-without-rerank chatqna-ui dataprep-redis retriever-redis"
22
+ service_list=" chatqna-without-rerank chatqna-ui dataprep-redis retriever-redis nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.5
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function build_docker_images() {
19
19
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout " ${opea_branch:- " main" } " && cd ../
20
20
21
21
echo " Build all the images with --no-cache, check docker_image_build.log for details..."
22
- service_list=" chatqna-without-rerank chatqna-ui chatqna-conversation-ui dataprep-redis retriever-redis"
22
+ service_list=" chatqna-without-rerank chatqna-ui chatqna-conversation-ui dataprep-redis retriever-redis nginx "
23
23
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
25
25
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.5
You can’t perform that action at this time.
0 commit comments