deer-flow icon indicating copy to clipboard operation
deer-flow copied to clipboard

公网部署方案:Vercel + Serverless容器函数 一键部署 Publish to public: Vercel + Serverless Docker Function

Open chmod777john opened this issue 7 months ago • 2 comments

我已成功部署,自费 API 给大家看看效果

https://deer-flow.vercel.app/

or

https://deerflow.top

我想了一个非常简单的方案出来,让任何人都可以部署到公网上,用自己的域名供人访问。

点击这个按钮

Deploy with Vercel

创建好你的 Vercel 网站之后,将环境变量 NEXT_PUBLIC_API_URL 配置为 https://deer-damokkcxax.cn-hongkong.fcapp.run/api

Done!

NEXT_PUBLIC_API_URL 实际上就是我的 Serverless endpoint (这个例子是想展示我们可以非常轻松地部署项目,所以自费弄了点API,请不要滥用)

如果你觉得这个方案好用的话,请给 https://github.com/bytedance/deer-flow/pull/110 和 https://github.com/bytedance/deer-flow/pull/108 点赞

我觉得这个 PR 是最好的方案。

chmod777john avatar May 13 '25 10:05 chmod777john

I have successfully deployed a self-funded API for everyone to see the results:

https://deer-flow.vercel.app/

or https://deerflow.top/

I came up with a very simple solution that allows anyone to deploy it to the public internet and make it accessible using their own domain.

Click this button:

Deploy with Vercel

After creating your Vercel website, configure the environment variable NEXT_PUBLIC_API_URL as https://deer-damokkcxax.cn-hongkong.fcapp.run/api

Done!

NEXT_PUBLIC_API_URL is essentially my Serverless endpoint (this example is meant to demonstrate how easily the project can be deployed, so I’ve self-funded a bit of API—please don’t abuse it).

If you find this solution useful, please give a thumbs-up to:
https://github.com/bytedance/deer-flow/pull/110 and https://github.com/bytedance/deer-flow/pull/108

I believe this PR is the best solution.

chmod777john avatar May 13 '25 10:05 chmod777john

我部署完成后,进行网页搜索的时候出现了这个异常,但是我校验了TAVILY_API_KEY是有效了,聊天功能正常,只有在research的时候异常。您能帮我分析一下原因吗? 当我切换到您的NEXT_PUBLIC_API_URL 的时候是正常的。我很疑惑

Image

Image

LiuJiaoShouYa avatar May 14 '25 01:05 LiuJiaoShouYa