跳到主要内容

Aisphere Local Stack

Middleware

ComponentEndpoint
Casdoorhttp://36.137.200.194:30082
SpiceDB gRPC36.137.200.194:30084
SpiceDB HTTPhttp://36.137.200.194:30087
PostgreSQL36.137.200.194:30080
Redis36.137.200.194:30085
etcd36.137.200.194:30086

启动顺序

在每个 PowerShell 窗口中分别启动服务:

cd E:\coding\aisphereio
.\scripts\start-iam.ps1
cd E:\coding\aisphereio
.\scripts\start-gateway.ps1
cd E:\coding\aisphereio
.\scripts\start-hub.ps1
cd E:\coding\aisphereio
.\scripts\start-hub-front.ps1

一键启动所有服务:

cd E:\coding\aisphereio
.\scripts\start-stack.ps1

端口

ServiceHTTPgRPCMetrics
IAM180801908019180
Gateway180001900019100
Hub180011900119090
Hub Front3000--

健康检查

curl.exe -i http://127.0.0.1:18080/healthz
curl.exe -i http://127.0.0.1:18000/healthz
curl.exe -i http://127.0.0.1:18001/healthz
curl.exe -G "http://127.0.0.1:18080/v1/iam/login-url" --data-urlencode "redirect_uri=http://localhost:18000/callback"
curl.exe -G "http://127.0.0.1:18000/v1/iam/login-url" --data-urlencode "redirect_uri=http://localhost:18000/callback"
curl.exe -s http://127.0.0.1:18000/v1/gateway/routes
curl.exe -i http://127.0.0.1:18001/v1/skills