清理历史 Electron、Graphify、沙箱和截图等仓库跟踪残留,补充 CodeGraph 与 Convex active deploy source 协作说明。 新增 tree-first 下一阶段设计稿和 2026-05-20 清理总结,记录本地工作区、路径身份和 Zed/Lapce/VSCode 参考收口方向。 扩展 Rust Web 本地文件夹、DocumentBuffer、mindmap 资源、tree runtime 和页面聚合链路,并补充 task455 local-folder mindmap clean smoke。 验证:git diff --check 通过;pnpm store status --store-dir .pnpm-store 通过;npm ls --depth=0 --json 通过;find -L node_modules 未发现断链。cargo test -p mnote-web 当前 418 passed / 35 failed。
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
# Cloudflare Tunnel 示例配置(路径 A:前端与 API 同源回源到本机)
|
||
#
|
||
# 用法(示意):
|
||
# 1) 在 Cloudflare 创建 tunnel 并下载 credentials.json
|
||
# 2) 把 credentials.json 放到与本文件同目录(或修改下面 credentials-file)
|
||
# 3) cloudflared tunnel --config .\config.yml run
|
||
#
|
||
# 注意:
|
||
# - hostname 需要先在 Cloudflare DNS 里绑定到该 tunnel
|
||
# - 本示例把 app/supabase/lightrag/mineru 分别用子域名暴露
|
||
# - 生产环境建议对 lightrag/mineru 增加额外保护(Cloudflare Access / IP 白名单)
|
||
|
||
tunnel: <YOUR_TUNNEL_NAME_OR_ID>
|
||
credentials-file: ./<YOUR_TUNNEL_ID>.json
|
||
|
||
ingress:
|
||
# 1) MNote Rust Web(mnote-web,含 /api/*)
|
||
- hostname: app.mnote.example.com
|
||
service: http://127.0.0.1:3000
|
||
|
||
# 2) Supabase(Kong 入口,开发环境常见为 18000)
|
||
- hostname: supabase.mnote.example.com
|
||
service: http://127.0.0.1:18000
|
||
|
||
# 3) wolai-backend(如需对外暴露)
|
||
- hostname: backend.mnote.example.com
|
||
service: http://127.0.0.1:8000
|
||
|
||
# 4) LightRAG(你当前规划为 7777)
|
||
- hostname: lightrag.mnote.example.com
|
||
service: http://127.0.0.1:7777
|
||
|
||
# 5) MinerU(你当前 .env.local 为 18888)
|
||
- hostname: mineru.mnote.example.com
|
||
service: http://127.0.0.1:18888
|
||
|
||
# 6) OnlyOffice Document Server(docker: onlyoffice-dev 暴露到 8081)
|
||
- hostname: onlyoffice.mnote.example.com
|
||
service: http://127.0.0.1:8081
|
||
|
||
# 未匹配的请求直接 404
|
||
- service: http_status:404
|