graph LR subgraph 本地 Mac A[Go 源代码] -->|CGO_ENABLED=0<br/>GOOS=linux<br/>GOARCH=amd64| B[Linux 二进制文件<br/>~15MB] end B -->|scp 上传| C subgraph 同一 VPC subgraph Ubuntu 服务器 C[openclaw_assistant<br/>+ conf/] C -->|./openclaw_assistant| D[运行中 :8086] end subgraph TKE 集群 E[OpenClaw Docker :8765] end D -->|发送消息<br/>内网 HTTP| E E -->|回调通知<br/>内网 HTTP| D end style A fill:#e3f2fd style B fill:#fff3e0 style D fill:#c8e6c9 style E fill:#c8e6c9
这样就解决了回调问题:两台机器在同一 VPC,内网互通,Docker 可以直接通过内网 IP 回调到你的 Go 服务。