TyCoding / langchat

LangChat: Java LLMs/AI Project, Supports Multi AI Providers( 智谱清言 / 阿里通义 / 百度千帆 / DeepSeek / 抖音豆包 / 零一万物 / 讯飞星火 / OpenAI / Gemini / Ollama / Azure / Claude 等大模型), Java生态下AI大模型产品解决方案,快速构建企业级AI知识库、AI机器人应用
http://langchat.cn
GNU Affero General Public License v3.0
488 stars 101 forks source link

Docker安装langchat时,提示nginx.conf是个目录不是文件,无法启动成功,如何处理 #6

Closed wuchubuzai2018 closed 2 months ago

wuchubuzai2018 commented 2 months ago

使用docker compose up命令出现nginx错误 错误提示为: error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/opt/langchat/langchat-main/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /opt/langchat/langchat-main/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type docker脚本使用的是gitee上的: https://gitee.com/TyCoding/langchat/blob/main/docker-compose.yml

TyCoding commented 2 months ago

脚本本身有问题,以github仓库为准,docker-compose部署脚本不再提供,又需要可以联系我商业部署支持