[docker] 部署 AnythingLLM

AnythingLLM 是一个全方位AI应用程序。可以构建本地知识库,支持多用户。

可以在官网下载直接安装: https://anythingllm.com/

下面是在 docker 中部署的方法:

# 拉取镜像
docker pull mintplexlabs/anythingllm:1.7.5

在 docker.desktop 中运行:

先创建 Volumes : anything_llm

docker run -i --name anythingllm -d -p 3001:3001 --cap-add SYS_ADMIN -v "anything_llm:/app/server/storage" -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm:1.7.5

参考文档

# Run this in powershell terminal
$env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; `
If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; `
If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env" -ItemType File}; `
docker run -d -p 3001:3001 `
--cap-add SYS_ADMIN `
-v "$env:STORAGE_LOCATION`:/app/server/storage" `
-v "$env:STORAGE_LOCATION\.env:/app/server/.env" `
-e STORAGE_DIR="/app/server/storage" `
mintplexlabs/anythingllm;
posted @ 2025-03-07 14:05  我爱我家喵喵  阅读(1435)  评论(0)    收藏  举报