Skip to content

Commit 57548b7

Browse files
committed
Add nginx to SearchQnA hpu compose.yaml
Signed-off-by: Ed Lee <16417837+edlee123@users.noreply.github.com>
1 parent dd9c32e commit 57548b7

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

SearchQnA/docker_compose/intel/hpu/gaudi/compose.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,25 @@ services:
187187
- no_proxy=${no_proxy}
188188
- https_proxy=${https_proxy}
189189
- http_proxy=${http_proxy}
190-
- BACKEND_BASE_URL=${BACKEND_SERVICE_ENDPOINT}
190+
ipc: host
191+
restart: always
192+
searchqna-gaudi-nginx-server:
193+
image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
194+
container_name: searchqna-gaudi-nginx-server
195+
depends_on:
196+
- searchqna-gaudi-backend-server
197+
- searchqna-gaudi-ui-server
198+
ports:
199+
- "${NGINX_PORT:-80}:80"
200+
environment:
201+
- no_proxy=${no_proxy}
202+
- https_proxy=${https_proxy}
203+
- http_proxy=${http_proxy}
204+
- FRONTEND_SERVICE_IP=searchqna-gaudi-ui-server
205+
- FRONTEND_SERVICE_PORT=5173
206+
- BACKEND_SERVICE_NAME=searchqna
207+
- BACKEND_SERVICE_IP=searchqna-gaudi-backend-server
208+
- BACKEND_SERVICE_PORT=8888
191209
ipc: host
192210
restart: always
193211

0 commit comments

Comments
 (0)