File tree Expand file tree Collapse file tree 9 files changed +11
-5
lines changed Expand file tree Collapse file tree 9 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ export TGI_LLM_ENDPOINT="http://${your_ip}:8008"
7979export HUGGINGFACEHUB_API_TOKEN=${your_hf_api_token}
8080export MEGA_SERVICE_HOST_IP=${host_ip}
8181export LLM_SERVICE_HOST_IP=${host_ip}
82+ export LLM_SERVICE_PORT=9000
8283export BACKEND_SERVICE_ENDPOINT=" http://${host_ip} :8888/v1/faqgen"
8384```
8485
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ services:
4646 - http_proxy=${http_proxy}
4747 - MEGA_SERVICE_HOST_IP=${MEGA_SERVICE_HOST_IP}
4848 - LLM_SERVICE_HOST_IP=${LLM_SERVICE_HOST_IP}
49+ - LLM_SERVICE_PORT=${LLM_SERVICE_PORT}
4950 ipc : host
5051 restart : always
5152 faqgen-xeon-ui-server :
@@ -59,7 +60,7 @@ services:
5960 - no_proxy=${no_proxy}
6061 - https_proxy=${https_proxy}
6162 - http_proxy=${http_proxy}
62- - DOC_BASE_URL =${BACKEND_SERVICE_ENDPOINT}
63+ - FAQ_BASE_URL =${BACKEND_SERVICE_ENDPOINT}
6364 ipc : host
6465 restart : always
6566networks :
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ export TGI_LLM_ENDPOINT="http://${your_ip}:8008"
8080export HUGGINGFACEHUB_API_TOKEN=${your_hf_api_token}
8181export MEGA_SERVICE_HOST_IP=${host_ip}
8282export LLM_SERVICE_HOST_IP=${host_ip}
83+ export LLM_SERVICE_PORT=9000
8384export BACKEND_SERVICE_ENDPOINT=" http://${host_ip} :8888/v1/faqgen"
8485```
8586
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ services:
5656 - http_proxy=${http_proxy}
5757 - MEGA_SERVICE_HOST_IP=${MEGA_SERVICE_HOST_IP}
5858 - LLM_SERVICE_HOST_IP=${LLM_SERVICE_HOST_IP}
59+ - LLM_SERVICE_PORT=${LLM_SERVICE_PORT}
5960 ipc : host
6061 restart : always
6162 faqgen-gaudi-ui-server :
@@ -69,7 +70,7 @@ services:
6970 - no_proxy=${no_proxy}
7071 - https_proxy=${https_proxy}
7172 - http_proxy=${http_proxy}
72- - DOC_BASE_URL =${BACKEND_SERVICE_ENDPOINT}
73+ - FAQ_BASE_URL =${BACKEND_SERVICE_ENDPOINT}
7374 ipc : host
7475 restart : always
7576
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ spec:
264264 containers :
265265 - name : faqgen-react-ui
266266 env :
267- - name : DOC_BASE_URL
267+ - name : FAQ_BASE_URL
268268 value : " http://faqgen:8888/v1/faqgen"
269269 - name : http_proxy
270270 value :
Original file line number Diff line number Diff line change 2222 containers :
2323 - name : faq-mega-ui-deploy
2424 env :
25- - name : DOC_BASE_URL
25+ - name : FAQ_BASE_URL
2626 value : http://{insert_your_ip_here}:7779/v1/faqgen
2727 image : opea/faqgen-ui:latest
2828 imagePullPolicy : IfNotPresent
Original file line number Diff line number Diff line change 2222 containers :
2323 - name : faq-mega-ui-deploy
2424 env :
25- - name : DOC_BASE_URL
25+ - name : FAQ_BASE_URL
2626 value : http://{insert_your_ip_here}:7779/v1/faqgen
2727 image : opea/faqgen-ui:latest
2828 imagePullPolicy : IfNotPresent
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ function start_services() {
3434 export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
3535 export MEGA_SERVICE_HOST_IP=${ip_address}
3636 export LLM_SERVICE_HOST_IP=${ip_address}
37+ export LLM_SERVICE_PORT=9000
3738 export BACKEND_SERVICE_ENDPOINT=" http://${ip_address} :8888/v1/faqgen"
3839
3940 sed -i " s/backend_address/$ip_address /g" $WORKPATH /ui/svelte/.env
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ function start_services() {
3434 export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
3535 export MEGA_SERVICE_HOST_IP=${ip_address}
3636 export LLM_SERVICE_HOST_IP=${ip_address}
37+ export LLM_SERVICE_PORT=9000
3738 export BACKEND_SERVICE_ENDPOINT=" http://${ip_address} :8888/v1/faqgen"
3839
3940 sed -i " s/backend_address/$ip_address /g" $WORKPATH /ui/svelte/.env
You can’t perform that action at this time.
0 commit comments