Files
tkmind_go/deploy/h5-105.env.example
john 4e21ca937a
Deploy Documentation / deploy (push) Has been cancelled
Canary / Prepare Version (push) Has been cancelled
Canary / build-cli (push) Has been cancelled
Canary / Upload Install Script (push) Has been cancelled
Canary / bundle-desktop (push) Has been cancelled
Canary / bundle-desktop-intel (push) Has been cancelled
Canary / bundle-desktop-linux (push) Has been cancelled
Canary / bundle-desktop-windows (push) Has been cancelled
Canary / bundle-desktop-windows-cuda (push) Has been cancelled
Canary / Release (push) Has been cancelled
Unused Dependencies / machete (push) Has been cancelled
CI / changes (push) Has been cancelled
CI / Check Rust Code Format (push) Has been cancelled
CI / Build and Test Rust Project (push) Has been cancelled
CI / Build Rust Project on Windows (push) Has been cancelled
CI / Check MSRV (push) Has been cancelled
CI / Lint Rust Code (push) Has been cancelled
CI / Check Generated Schemas are Up-to-Date (push) Has been cancelled
CI / Test and Lint Electron Desktop App (push) Has been cancelled
CI / H5 Plaza Tests and Build (push) Has been cancelled
Live Provider Tests / check-fork (push) Has been cancelled
Live Provider Tests / changes (push) Has been cancelled
Live Provider Tests / Build Binary (push) Has been cancelled
Live Provider Tests / Smoke Tests (push) Has been cancelled
Live Provider Tests / Smoke Tests (Code Execution) (push) Has been cancelled
Live Provider Tests / Compaction Tests (push) Has been cancelled
Live Provider Tests / goose server HTTP integration tests (push) Has been cancelled
Publish Ask AI Bot Docker Image / docker (push) Has been cancelled
Publish Docker Image / docker (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Add TKMind platform extensions, H5/MindSpace stack, and deployment tooling.
Fork goose with custom MCP widgets, platform extensions (aider, git, web, search),
MindSpace H5 backend/frontend, Plaza/Ops UIs, and deploy scripts for tkmind.cn.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 21:30:20 +08:00

38 lines
1.5 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
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.
# 105 服务器 H5 部署配置(复制为 deploy/h5-105.env 后按需修改)
H5_DEPLOY_HOST=root@120.26.184.105
H5_REMOTE_DIR=/root/tkmind_go/ui/h5
H5_PROD_URL=https://go.tkmind.cn
# 若服务器尚未重命名 systemd unit,可设为实际服务名
H5_SYSTEMD_SERVICE=goose-h5
GOOSED_SYSTEMD_SERVICE=goosed-tkmind-go
TKMIND_API_SYSTEMD_SERVICE=goosed-tkmind-go
# goosed 本地编译上传(Mac 用 Docker linux/amd64,不在 105 上 cargo build):
# ./deploy/deploy-goosed-105.sh
# ./rsync_to_server.sh goosed
# ./rsync_to_server.sh all # H5 + goosed 一起发
# GOOSED_REMOTE_DIR=/root/tkmind_go
# GOOSED_REMOTE_BIN=/root/tkmind_go/target/release/goosed
# H5 MySQL 使用与 tkmind 相同的阿里云 RDS(参照 /root/tkmind/shared/config/local.json
# 一键建表 + 导数据 + 更新 .env:
# ./deploy/sync-h5-db-105.sh
# H5_RDS_DATABASE=goose
# 多用户系统(由 sync-h5-db-105.sh 写入服务器 ui/h5/.env
# H5_USERS_ROOT=/root/tkmind_go/ui/h5/users
# H5_SIGNUP_BALANCE_CENTS=1000
# H5_ADMIN_USERNAME=admin
# H5_ADMIN_PASSWORD=your-admin-password
# 微信支付自助充值(配置后写入服务器 ui/h5/.env)
# H5_WECHAT_PAY_ENABLED=1
# H5_WECHAT_APP_ID=wx...
# H5_WECHAT_MCH_ID=...
# H5_WECHAT_API_V3_KEY=...
# H5_WECHAT_SERIAL_NO=...
# H5_WECHAT_PRIVATE_KEY_PATH=/root/tkmind_go/secrets/wechat_apiclient_key.pem
# H5_WECHAT_PLATFORM_CERT_PATH=/root/tkmind_go/secrets/wechat_platform.pem
# H5_WECHAT_NOTIFY_URL=https://go.tkmind.cn/webhooks/wechat-pay/notify
# H5_PUBLIC_BASE_URL=https://go.tkmind.cn