Skip to content

Commit 5c34ed2

Browse files
committed
Add nginx to SearchQnA for amd rocm compose_vllm.yaml
Signed-off-by: Ed Lee <16417837+edlee123@users.noreply.github.com>
1 parent f9bc776 commit 5c34ed2

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

SearchQnA/docker_compose/amd/gpu/rocm/compose_vllm.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,27 @@ services:
176176
no_proxy: ${no_proxy}
177177
https_proxy: ${https_proxy}
178178
http_proxy: ${http_proxy}
179-
BACKEND_BASE_URL: ${SEARCH_BACKEND_SERVICE_ENDPOINT}
180179
ipc: host
181180
restart: always
182-
181+
search-nginx-server:
182+
image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
183+
container_name: search-nginx-server
184+
depends_on:
185+
- search-backend-server
186+
- search-ui-server
187+
ports:
188+
- "${NGINX_PORT:-80}:80"
189+
environment:
190+
- no_proxy=${no_proxy}
191+
- https_proxy=${https_proxy}
192+
- http_proxy=${http_proxy}
193+
- FRONTEND_SERVICE_IP=search-ui-server
194+
- FRONTEND_SERVICE_PORT=5173
195+
- BACKEND_SERVICE_NAME=search
196+
- BACKEND_SERVICE_IP=search-backend-server
197+
- BACKEND_SERVICE_PORT=8888
198+
ipc: host
199+
restart: always
183200
networks:
184201
default:
185202
driver: bridge

0 commit comments

Comments
 (0)