diff --git a/scripts/deploy-compose.sh b/scripts/deploy-compose.sh index 919df75..618747d 100755 --- a/scripts/deploy-compose.sh +++ b/scripts/deploy-compose.sh @@ -248,14 +248,14 @@ deploy() { api_port="$(published_port api 8088 "${AI_GATEWAY_API_PORT:-8088}")" web_port="$(published_port web 80 "${AI_GATEWAY_WEB_PORT:-5178}")" - wait_for_http "api health" "http://127.0.0.1:${api_port}/healthz" "easyai-ai-gateway" - wait_for_http "api readiness" "http://127.0.0.1:${api_port}/readyz" '"ok":true' - wait_for_http "web reverse proxy" "http://127.0.0.1:${web_port}/gateway-api/healthz" "easyai-ai-gateway" + wait_for_http "api health" "http://127.0.0.1:${api_port}/api/v1/healthz" "easyai-ai-gateway" + wait_for_http "api readiness" "http://127.0.0.1:${api_port}/api/v1/readyz" '"ok":true' + wait_for_http "web reverse proxy" "http://127.0.0.1:${web_port}/api/v1/healthz" "easyai-ai-gateway" wait_for_http "web app" "http://127.0.0.1:${web_port}/" "EasyAI AI Gateway" echo "[ai-gateway] deployment succeeded" echo "[ai-gateway] Web: http://127.0.0.1:${web_port}" - echo "[ai-gateway] API: http://127.0.0.1:${api_port}/healthz" + echo "[ai-gateway] API: http://127.0.0.1:${api_port}/api/v1/healthz" } case "$ACTION" in