This commit is contained in:
Adil Hafeez 2024-10-26 16:24:45 -07:00
parent 0583caeb73
commit 6ca45d8731
2 changed files with 9 additions and 10 deletions

View file

@ -6,13 +6,15 @@ pwd
. ./common_scripts.sh
log starting > ../build.log
log building function_callling demo
log ===============================
cd ../demos/function_calling
docker compose build 2>&1 > ../../build.log
docker compose build -q
log starting the function_calling demo
docker compose up -d 2>&1 >> ../../build.log
docker compose up -d
cd -
log building model server
@ -27,13 +29,13 @@ cd -
log building llm and prompt gateway rust modules
log ============================================
cd ../arch
docker build -f Dockerfile .. -t katanemo/archgw 2>&1 >> ../build.log
docker build -f Dockerfile .. -t katanemo/archgw -q
log starting the arch gateway service
log =================================
docker compose down 2>&1 >> ../build.log
docker compose down
log waiting for model service to be healthy
wait_for_healthz "http://localhost:51000/healthz" 300
docker compose up -d 2>&1 >> ../build.log
docker compose up -d
log waiting for arch gateway service to be healthy
wait_for_healthz "http://localhost:10000/healthz" 60
log waiting for arch gateway service to be healthy