Extract memind_adm admin server, add local dev tooling, and remove image-generation.

Split platform admin and ops APIs into standalone admin-server.mjs with network guards; simplify billing to RMB token pricing, refactor user auth, and add rsync deploy plus local-test scripts and docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Your Name
2026-06-17 16:39:39 -07:00
parent ab0718938e
commit b0f5d6a51c
98 changed files with 5394 additions and 3010 deletions
+10 -2
View File
@@ -1,6 +1,14 @@
# g2.tkmind.cn 本地发布:仅本机 Mac H5 (:8081),不经过 105
# g2.tkmind.cn 负载均衡:Studio 本机 H5 (:8081) 主 + 105 portal (经正向隧道 :18080) 灰度副
# 权重 19:1 ≈ 95% / 5%active 健康检查 /api/status,挂掉自动摘除
:8090 {
reverse_proxy 127.0.0.1:8081 {
reverse_proxy {
to 127.0.0.1:8081 127.0.0.1:18080
lb_policy weighted_round_robin 19 1
header_down +X-Memind-Upstream {http.reverse_proxy.upstream.hostport}
health_uri /api/status
health_interval 10s
health_timeout 5s
health_status 200
flush_interval -1
transport http {
read_timeout 0