[#1] 构建镜像;USER root; 使用supervisor守护进程;端到端本地测试

This commit is contained in:
root
2025-09-15 09:59:49 +00:00
parent 653a0c04a6
commit 31a6ab9803
25 changed files with 559 additions and 209 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
ES="${ES:-http://localhost:9200}"
echo "[i] 查询 ES 端点:$ES"
curl -fsS "$ES/_cat/indices?v" | egrep 'train-|infer-|logstash' || true
printf "train-* 计数:"; curl -fsS "$ES/train-*/_count" | sed -E 's/.*"count":([0-9]+).*/\1/'; echo
printf "infer-* 计数:"; curl -fsS "$ES/infer-*/_count" | sed -E 's/.*"count":([0-9]+).*/\1/'; echo