dify 默认端口被占用,更改端口号

sudo docker compose -p dify up -d

在Ubuntu服务器上部署dify平台时,遇到以下错误:

Error response from daemon: driver failed programming external connectivity on endpoint dify-nginx-1 (a9734951328f585778afbdbed279a81ca9ccebf8b4ba97d587216f534d6e015c): Bind for 0.0.0.0:80 failed: port is already allocated

dify官方链接:langgenius/dify: Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.

问题截图:

dify 默认端口被占用,更改端口号_第1张图片

问题解决:

参考链接:FAQs | Dify

dify 默认端口被占用,更改端口号_第2张图片

vim .env

文档修改截图

dify 默认端口被占用,更改端口号_第3张图片

再次运行以下命令:

sudo docker compose -p dify up -d

你可能感兴趣的:(ubuntu,LLM,deep,learning,服务器,运维,人工智能,ubuntu)