VM 服务导航

GCP Spot VM: 34.0.156.8。这里只放访问入口和运维索引,敏感账号密码仍保存在服务器本地文件。

SSH: 34.0.156.8:22222 HTTPS: Nginx + Certbot Hermes: gpt-5.5 Fail2ban enabled Spot lifecycle guarded Daily Radar active

公网入口

绿色表示可直接访问;蓝色表示有认证保护。

本机内部服务

这些端口只在服务器本机或 Docker 网络中使用。

内部端口

Sub2API 容器127.0.0.1:18080,由 Nginx 反代到 openapi.999968.xyz
Hermes Dashboard127.0.0.1:9119,由 Nginx 反代到 hermes.999968.xyz
HermesClaw 代理127.0.0.1:19998,微信/iLink 到 Hermes gateway 的代理
微信 Webhook127.0.0.1:18787/send,本机程序推送微信,Bearer token 在 /etc/spot-lifecycle.env
Postgres / RedisDocker 内部网络,仅供 Sub2API 使用

常驻服务

系统服务nginx, ssh, fail2ban, hermesclaw, weixin-webhook
用户服务hermes-gateway, hermes-dashboard
Spot 恢复spot-shutdown-watch, spot-boot-recovery, spot-lifecycle-cleanup.timer
日报任务daily-radar.timer, daily-radar-social-alert.timer
Docker 入口cliproxyapi:8317, cpa-manager:18317, sub2api-proxy:8080, autoteam:8787
凭据位置/home/brook/.hermes/dashboard-public-credentials.txt
/opt/cloudflare_temp_email/admin-credentials.txt

运维命令

复制后在服务器上执行。

服务状态

查看 Docker 容器

docker ps

查看 Nginx 配置

sudo nginx -t && systemctl status nginx

查看 Hermes 服务

systemctl --user status hermes-gateway hermes-dashboard

Spot / 日报 / 微信推送状态

systemctl status spot-shutdown-watch weixin-webhook daily-radar.timer daily-radar-social-alert.timer

Spot 生命周期健康检查

/opt/spot-lifecycle/healthcheck.sh

常用重启

微信不回复时刷新链路

systemctl --user restart hermes-gateway.service && sudo systemctl restart hermesclaw.service

重启 Sub2API

cd /opt/sub2api-deploy && docker compose restart

重新部署临时邮箱 Worker

cd /opt/cloudflare_temp_email/worker && node node_modules/wrangler/bin/wrangler.js deploy --minify

手动发送社交提醒

cd /opt/daily-radar && . .venv/bin/activate && daily-radar social-alert --config configs/sources.yaml --send