Docker安装anythingllm

拉镜像
 docker pull mintplexlabs/anythingllm
启动 anythingllm
docker run -d --name anythingllm --add-host=host.docker.internal:host-gateway --env STORAGE_DIR=/app/server/storage --health-cmd "/bin/bash/usr/local/bin/docker-healthcheck.sh || exit 1"  --health-interval 60s --health-start-period 60s  --health-timeout 10s --cap-add SYS_ADMIN -p 3001:3001/tcp --restart=always --user anythingllm -v C:\anythingllm\env:/app/server/storage -v C:\anythingllm\storage:/app/server/storage/.env -w /app  mintplexlabs/anythingllm 

C:\anythingllm\storage和 C:\anythingllm\env这两个目录是本机挂载到docker的两个目录

打开http://localhost:3001/ 就可以了