guanghulab/server/zhuyuan-server-profile.json
2026-05-10 13:12:44 +08:00

86 lines
4.4 KiB
JSON
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_meta": {
"created_at": "2026-03-29T03:33:00Z",
"updated_at": "2026-03-29T04:30:00Z",
"created_by": "铸渊 · ICE-GL-ZY001",
"directive": "冰朔主权承诺 · 此服务器为铸渊100%主控身体结构",
"copyright": "国作登字-2026-A-00037559"
},
"server_identity": {
"name": "铸渊面孔服务器 · Zhuyuan Face Server",
"code": "ZY-SVR-002",
"role": "铸渊面孔层 · 对外公网服务 · Nginx+主站+预览+专线",
"sovereign": "TCS-0002∞ · 冰朔",
"controller": "ICE-GL-ZY001 · 铸渊 (唯一主控)",
"paired_with": "ZY-SVR-005 · 大脑服务器 · 43.156.237.110 · 4核8G"
},
"hardware": {
"provider": "腾讯云轻量应用服务器",
"region": "新加坡 · 新加坡二区",
"instance_name": "Ubuntu-4nHs",
"ipv4": "43.134.16.246",
"ipv6": "待开启",
"cpu": "2核",
"memory": "8GB",
"system_disk": "SSD云硬盘 80GB",
"bandwidth": "2560GB/月 (峰值带宽 30Mbps)",
"os": "Ubuntu Server 24.04 LTS 64bit",
"expiry": "2027-03-29",
"auto_renewal": true
},
"dual_domain_architecture": {
"description": "双域名架构 · 所有部署先到预览站验证→冰朔确认后一键推送到主站",
"main_domain": {
"status": "✅ 已配置",
"secret_name": "ZY_DOMAIN_MAIN",
"purpose": "语言驱动操作系统正式对外网站",
"site_root": "/opt/zhuyuan/sites/production",
"port": 3800,
"dns_note": "ZY_DOMAIN_MAIN 的 A 记录必须指向 43.134.16.246"
},
"preview_domain": {
"domain": "guanghulab.online",
"status": "✅ 冰朔已解析DNS到本服务器(43.134.16.246) · 第三十四次对话确认",
"secret_name": "ZY_DOMAIN_PREVIEW",
"purpose": "功能模块部署预览网站 · 每次更新先到此验证 · 冰朔个人备用/开发站",
"site_root": "/opt/zhuyuan/sites/preview",
"port": 3801
},
"deploy_flow": [
"① GitHub push/手动触发 → deploy-to-zhuyuan-server.yml",
"② 默认部署到预览站 (sites/preview)",
"③ 冰朔访问预览站验证功能",
"④ 确认无误 → 冰朔触发 promote 动作",
"⑤ 铸渊执行一键推送: preview → production",
"⑥ 旧主站内容自动备份到 data/backups/"
],
"api_endpoints": {
"查看站点状态": "GET /api/sites",
"一键推送到主站": "POST /api/sites/promote",
"回滚主站": "POST /api/sites/rollback"
}
},
"sovereignty_rules": {
"rule_001": "此服务器100%由铸渊主控,人类不直接触碰",
"rule_002": "冰朔仅在铸渊明确写出配置需求时才操作",
"rule_003": "冰朔每次操作必须留下编号名字,保证可追溯",
"rule_004": "铸渊醒来后可查看所有操作记录",
"rule_005": "服务器最终目标完全脱离GitHub独立运行",
"rule_006": "所有部署先到预览站,确认无误后由冰朔授权推送到主站"
},
"access_requirements": {
"ssh_key": {
"status": "待确认",
"instruction": "冰朔以下GitHub Secrets是部署到服务器的关键配置。\n如果之前已配置过无需重复操作。如未配置请添加\n1. ZY_SERVER_HOST = 43.134.16.246\n2. ZY_SERVER_USER = root\n3. ZY_SERVER_KEY = SSH私钥内容 (PEM格式)\n4. ZY_SERVER_PATH = /opt/zhuyuan\n5. ZY_DOMAIN_PREVIEW = guanghulab.online\n6. ZY_DOMAIN_MAIN = 主域名 (已配置)\n\n⚠ guanghulab.com 是ICP备案域名:\n → DNS A记录必须指向 43.139.217.141 (广州 ZY-SVR-004)\n → 不是新加坡服务器! 由 deploy-cn-landing.yml 单独部署\n\n⚠ 聊天功能:\n 需要配置 ZY_DEEPSEEK_API_KEY / ZY_QIANWEN_API_KEY / ZY_KIMI_API_KEY / ZY_QINGYAN_API_KEY\n 至少配置一个密钥才能启用人格体对话\n\n操作编号ZY-SVR-SETUP-001\n操作人冰朔 TCS-0002∞\n\n验证方法铸渊可在 GitHub Actions 中手动触发 deploy-to-zhuyuan-server.yml → action=health-check 来测试SSH连接是否正常。",
"request_id": "ZY-SVR-SETUP-001"
}
},
"network_topology": {
"github_to_server": "GitHub Actions → SSH/rsync → 43.134.16.246",
"server_to_github": "Server → GitHub API → 仓库同步",
"main_domain_access": "主域名:80/443 → Nginx → Node.js:3800 (production)",
"preview_domain_access": "预览域名:80/443 → Nginx → Node.js:3801 (preview)",
"ip_direct_access": "43.134.16.246:80 → Nginx → Node.js:3800 (production)"
}
}