为以下 4 个服务提供一键构建与部署: - svc-fault-scheduler (8103) - svc-reqrsp-proxy (8105) - svc-task-executor (8102) - svc-task-resource (8101)
chmod +x build-and-deploy.sh
./build-and-deploy.sh
启动后: - MySQL: localhost:3306(root/root) - Redis: localhost:6379 - Web: - http://localhost:8101 svc-task-resource - http://localhost:8102 svc-task-executor - http://localhost:8103 svc-fault-scheduler - http://localhost:8105 svc-reqrsp-proxy
说明:Spring Boot 支持环境变量与配置项的“松散绑定”,如
kubernetes.api-url可用环境变量KUBERNETES_API_URL覆盖。
# 健康探活
curl http://localhost:8101/hello
curl http://localhost:8102/hello
curl http://localhost:8103/hello
curl http://localhost:8105/hello
# 查看容器状态
if docker compose version >/dev/null 2>&1; then docker compose ps; else docker-compose ps; fi
$ claude mcp add chaosblade-space-exploration \
-- python -m otcore.mcp_server <graph>