Skip to content

Commit 5703ceb

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

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,25 @@ services:
170170
no_proxy: ${no_proxy}
171171
https_proxy: ${https_proxy}
172172
http_proxy: ${http_proxy}
173-
BACKEND_BASE_URL: ${SEARCH_BACKEND_SERVICE_ENDPOINT}
173+
ipc: host
174+
restart: always
175+
search-nginx-server:
176+
image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
177+
container_name: search-nginx-server
178+
depends_on:
179+
- search-backend-server
180+
- search-ui-server
181+
ports:
182+
- "${NGINX_PORT:-80}:80"
183+
environment:
184+
- no_proxy=${no_proxy}
185+
- https_proxy=${https_proxy}
186+
- http_proxy=${http_proxy}
187+
- FRONTEND_SERVICE_IP=search-ui-server
188+
- FRONTEND_SERVICE_PORT=5173
189+
- BACKEND_SERVICE_NAME=search
190+
- BACKEND_SERVICE_IP=search-backend-server
191+
- BACKEND_SERVICE_PORT=8888
174192
ipc: host
175193
restart: always
176194

0 commit comments

Comments
 (0)