dify配置mineru插件图片设置
【代码】dify配置mineru插件图片设置。
·
打开 docker/.env,将 FILES_URL 和 INTERNAL_FILES_URL,修改成当前机器的ip地址:端口
FILES_URL=http://172.19.212.86:5001
INTERNAL_FILES_URL=http://172.19.212.86:5001
打开 docker/docker-compose.yaml,将 api 服务添加5001端口
docker/docker-compose.yaml配置如下:
FILES_URL: ${FILES_URL:-http://172.19.212.86:5001}
INTERNAL_FILES_URL: ${INTERNAL_FILES_URL:-http://172.19.212.86:5001}
services:
# API service
api:
image: langgenius/dify-api:2.0.0-beta.2
restart: always
ports:
- "5001:5001"
重启
docker compose stop
docker compose up -d
更多推荐
所有评论(0)