0.1.13 AI功能大改
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# 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) Next.js(wolai-frontend,含 /api/*)
|
||||
- hostname: app.aichem.dpdns.org
|
||||
service: http://127.0.0.1:3000
|
||||
|
||||
# 2) Supabase(Kong 入口,开发环境常见为 18000)
|
||||
- hostname: supabase.aichem.dpdns.org
|
||||
service: http://127.0.0.1:18000
|
||||
|
||||
# 3) wolai-backend(如需对外暴露)
|
||||
- hostname: backend.aichem.dpdns.org
|
||||
service: http://127.0.0.1:8000
|
||||
|
||||
# 4) LightRAG(你当前规划为 7777)
|
||||
- hostname: lightrag.aichem.dpdns.org
|
||||
service: http://127.0.0.1:7777
|
||||
|
||||
# 5) MinerU(你当前 .env.local 为 18888)
|
||||
- hostname: mineru.aichem.dpdns.org
|
||||
service: http://127.0.0.1:18888
|
||||
|
||||
# 未匹配的请求直接 404
|
||||
- service: http_status:404
|
||||
Reference in New Issue
Block a user