Skip to content

Commit

Permalink
update test compose_on_gaudi
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa <[email protected]>
  • Loading branch information
MSCetin37 committed Nov 14, 2024
1 parent 630b5bf commit ddb1868
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions DocSum/tests/test_compose_on_gaudi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ function start_services() {
-e HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN} \
opea/llm-docsum-tgi:ci

# docker run -d -p 9100:9099 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy -e A2T_ENDPOINT=http://$host_ip:7066 opea/a2t:ci
# docker run -d -p 7078:7078 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy opea/v2a:ci
docker run -d -p 9100:9099 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy -e A2T_ENDPOINT=http://$host_ip:7066 opea/a2t:ci
docker run -d -p 7078:7078 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy opea/v2a:ci

# docker run -d -p 7079:7079 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy \
# -e A2T_ENDPOINT=http://$host_ip:7066 \
# -e V2A_ENDPOINT=http://$host_ip:7078 \
# opea/multimedia2text:ci
docker run -d -p 7079:7079 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy \
-e A2T_ENDPOINT=http://$host_ip:7066 \
-e V2A_ENDPOINT=http://$host_ip:7078 \
opea/multimedia2text:ci

# docker run -d -p 8888:8888 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy \
# -e no_proxy=$no_proxy \
# -e MEGA_SERVICE_HOST_IP=${MEGA_SERVICE_HOST_IP} \
# -e DATA_SERVICE_HOST_IP=${DATA_SERVICE_HOST_IP} \
# -e LLM_SERVICE_HOST_IP=${LLM_SERVICE_HOST_IP} \
# opea/docsum:ci
docker run -d -p 8888:8888 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy \
-e no_proxy=$no_proxy \
-e MEGA_SERVICE_HOST_IP=${MEGA_SERVICE_HOST_IP} \
-e DATA_SERVICE_HOST_IP=${DATA_SERVICE_HOST_IP} \
-e LLM_SERVICE_HOST_IP=${LLM_SERVICE_HOST_IP} \
opea/docsum:ci

docker compose -f compose.yaml up -d > ${LOG_PATH}/start_services_with_compose.log
sleep 60s
Expand Down Expand Up @@ -245,12 +245,12 @@ function main() {
stop_docker
echo ">>>> Docker containers stopped."

echo "==========================================="
if [[ "$IMAGE_REPO" == "opea" ]]; then
echo ">>>> Building Docker images..."
build_docker_images
echo ">>>> Docker images built successfully."
fi
# echo "==========================================="
# if [[ "$IMAGE_REPO" == "opea" ]]; then
# echo ">>>> Building Docker images..."
# build_docker_images
# echo ">>>> Docker images built successfully."
# fi

echo "==========================================="
echo ">>>> Starting Docker services..."
Expand Down

0 comments on commit ddb1868

Please sign in to comment.