1.docker镜像设置
打开文件 vi /etc/docker/daemon.json
配置参数 试了 添加其他的镜像 好像不行一直卡
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"experimental": false,
"registry-mirrors": [
"https://docker.1ms.run"
]
}
#2. 安装
## 2.1 项目地址
ragflow项目地址:https://github.com/infiniflow/ragflow
2.1 拉去代码
git clone https://github.com/infiniflow/ragflow.git
2.2
cd docker
$ docker compose -f docker-compose-macos.yml up -d
2.3 启动
docker logs -f ragflow-server
2.3 出现这个
2025-03-30 18:09:15,364 INFO 17
______ __ ______ __
/_ __/___ ______/ /__ / ____/ _____ _______ __/ /_____ _____
/ / / __ `/ ___/ //_/ / __/ | |/_/ _ \/ ___/ / / / __/ __ \/ ___/
/ / / /_/ (__ ) ,< / /____> </ __/ /__/ /_/ / /_/ /_/ / /
/_/ \__,_/____/_/|_| /_____/_/|_|\___/\___/\__,_/\__/\____/_/
2025-03-30 18:09:15,364 INFO 17 TaskExecutor: RAGFlow version: v0.17.2 slim
2025-03-30 18:09:15,364 INFO 17 Use Elasticsearch http://es01:9200 as the doc engine.
2025-03-30 18:09:15,370 INFO 17 GET http://es01:9200/ [status:200 duration:0.005s]
2025-03-30 18:09:15,374 INFO 17 HEAD http://es01:9200/ [status:200 duration:0.003s]
2025-03-30 18:09:15,374 INFO 17 Elasticsearch http://es01:9200 is healthy.
2025-03-30 18:09:15,378 WARNING 17 Load term.freq FAIL!
2025-03-30 18:09:15,382 WARNING 17 Realtime synonym is disabled, since no redis connection.
2025-03-30 18:09:15,388 WARNING 17 Load term.freq FAIL!
2025-03-30 18:09:15,393 WARNING 17 Realtime synonym is disabled, since no redis connection.
2025-03-30 18:09:15,393 INFO 17 MAX_CONTENT_LENGTH: 134217728
2025-03-30 18:09:15,393 INFO 17 SERVER_QUEUE_MAX_LEN: 1024
2025-03-30 18:09:15,393 INFO 17 SERVER_QUEUE_RETENTION: 3600
2025-03-30 18:09:15,393 INFO 17 MAX_FILE_COUNT_PER_USER: 0
2025-03-30 18:09:15,397 WARNING 17 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-03-30 18:09:15,398 INFO 17 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2025-03-30T18:09:15.396+08:00", "boot_at": "2025-03-30T18:09:15.362+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
2025-03-30 18:09:45,398 WARNING 17 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-03-30 18:09:45,399 INFO 17 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2025-03-30T18:09:45.398+08:00", "boot_at": "2025-03-30T18:09:15.362+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}