Merge pull request 'chore: 硬编码公网 IP 地址' (#89) from fix/workflow-fix into develop

Reviewed-on: http://8.161.227.145:3000/XEngineers/CamTalk/pulls/89
This commit was merged in pull request #89.
This commit is contained in:
2026-06-14 15:29:19 +08:00

View File

@@ -21,12 +21,8 @@ cmd_up() {
info "启动服务..." info "启动服务..."
docker compose up -d docker compose up -d
info "服务已启动" info "服务已启动"
info "前端: http://8.161.227.145:9000"
# 获取公网 IP info "健康检查: http://8.161.227.145:9000/api/health"
PUBLIC_IP=$(curl -s --max-time 5 ifconfig.me 2>/dev/null || curl -s --max-time 5 ip.sb 2>/dev/null || echo "YOUR_SERVER_IP")
info "前端: http://${PUBLIC_IP}:9000"
info "健康检查: http://${PUBLIC_IP}:9000/api/health"
} }
cmd_down() { cmd_down() {