|
1 | 1 | ---
|
2 |
| -# Source: chatqna/charts/chatqna-ui/templates/configmap.yaml |
3 |
| -# Copyright (C) 2024 Intel Corporation |
4 |
| -# SPDX-License-Identifier: Apache-2.0 |
5 |
| - |
6 |
| -apiVersion: v1 |
7 |
| -kind: ConfigMap |
8 |
| -metadata: |
9 |
| - name: chatqna-chatqna-ui-config |
10 |
| - labels: |
11 |
| - helm.sh/chart: chatqna-ui-1.0.0 |
12 |
| - app.kubernetes.io/name: chatqna-ui |
13 |
| - app.kubernetes.io/instance: chatqna |
14 |
| - app.kubernetes.io/version: "v1.0" |
15 |
| - app.kubernetes.io/managed-by: Helm |
16 |
| -data: |
17 |
| - APP_BACKEND_SERVICE_ENDPOINT: "/v1/chatqna" |
18 |
| - APP_DATA_PREP_SERVICE_URL: "/v1/dataprep" |
19 |
| - CHAT_BASE_URL: "/v1/chatqna" |
20 |
| - UPLOAD_FILE_BASE_URL: "/v1/dataprep" |
21 |
| - GET_FILE: "/v1/dataprep/get_file" |
22 |
| - DELETE_FILE: "/v1/dataprep/delete_file" |
23 |
| - BASE_URL: "/v1/chatqna" |
24 |
| - DOC_BASE_URL: "/v1/chatqna" |
25 |
| - BASIC_URL: "/v1/chatqna" |
26 |
| - VITE_CODE_GEN_URL: "/v1/chatqna" |
27 |
| - VITE_DOC_SUM_URL: "/v1/chatqna" |
28 |
| ---- |
29 | 2 | # Source: chatqna/charts/data-prep/templates/configmap.yaml
|
30 | 3 | # Copyright (C) 2024 Intel Corporation
|
31 | 4 | # SPDX-License-Identifier: Apache-2.0
|
@@ -283,12 +256,19 @@ data:
|
283 | 256 | listen 80;
|
284 | 257 | listen [::]:80;
|
285 | 258 |
|
| 259 | + proxy_connect_timeout 600; |
| 260 | + proxy_send_timeout 600; |
| 261 | + proxy_read_timeout 600; |
| 262 | + send_timeout 600; |
| 263 | +
|
| 264 | + client_max_body_size 10G; |
| 265 | +
|
286 | 266 | location /home {
|
287 | 267 | alias /usr/share/nginx/html/index.html;
|
288 | 268 | }
|
289 | 269 |
|
290 | 270 | location / {
|
291 |
| - proxy_pass http://chatqna-chatqna-ui:5174; |
| 271 | + proxy_pass http://chatqna-chatqna-ui:5173; |
292 | 272 | proxy_set_header Host $host;
|
293 | 273 | proxy_set_header X-Real-IP $remote_addr;
|
294 | 274 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
@@ -349,7 +329,7 @@ metadata:
|
349 | 329 | spec:
|
350 | 330 | type: ClusterIP
|
351 | 331 | ports:
|
352 |
| - - port: 5174 |
| 332 | + - port: 5173 |
353 | 333 | targetPort: ui
|
354 | 334 | protocol: TCP
|
355 | 335 | name: ui
|
@@ -711,12 +691,9 @@ spec:
|
711 | 691 | {}
|
712 | 692 | containers:
|
713 | 693 | - name: chatqna-ui
|
714 |
| - envFrom: |
715 |
| - - configMapRef: |
716 |
| - name: chatqna-chatqna-ui-config |
717 | 694 | securityContext:
|
718 | 695 | {}
|
719 |
| - image: "opea/chatqna-conversation-ui:latest" |
| 696 | + image: "opea/chatqna-ui:latest" |
720 | 697 | imagePullPolicy: IfNotPresent
|
721 | 698 | ports:
|
722 | 699 | - name: ui
|
|
0 commit comments