Ai
1 Star 0 Fork 0

大模型开发/anythingllm-docker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
run_docker.sh 847 Bytes
一键复制 编辑 原始数据 按行查看 历史
Your Name 提交于 2025-04-08 16:00 +08:00 . 创建
#!/bin/sh
##########################
HOME_NAME=huangjunjia
STORAGE_LOCATION=/home/$HOME_NAME/code/anythingllm-docker
DOCKER_NAME=anythingllm
##########################
# 这里加777权限是必要的
echo "本地路径 $STORAGE_LOCATION"
mkdir -p $STORAGE_LOCATION
chmod 777 $STORAGE_LOCATION
touch "$STORAGE_LOCATION/.env"
chmod 777 "$STORAGE_LOCATION/.env"
# check
if [[ -n $(docker ps -q -f "name=${DOCKER_NAME}") ]];then
echo "not exist docker name=${DOCKER_NAME}"
else
echo "exist docker name=${DOCKER_NAME}. neet exit, then rm docker."
docker rm ${DOCKER_NAME}
fi
# 构建容器实例
docker run -d \
-p 29543:3001 \
--cap-add SYS_ADMIN \
-v ${STORAGE_LOCATION}:/app/server/storage \
-v ${STORAGE_LOCATION}/.env:/app/server/.env \
-e STORAGE_DIR="/app/server/storage" \
--name ${DOCKER_NAME} \
mintplexlabs/anythingllm
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/DevelopLLM/anythingllm-docker.git
git@gitee.com:DevelopLLM/anythingllm-docker.git
DevelopLLM
anythingllm-docker
anythingllm-docker
main

搜索帮助