fix: Ensure that the commands are executed in the correct directory s… (#5089)

…o that all services (including the es and infinity containers) can be
started correctly, and resolve the Failed to resolve 'es01' #4875

### What problem does this PR solve?

https://github.com/infiniflow/ragflow/issues/4875

### Type of change

- [x] Documentation Update
This commit is contained in:
David
2025-02-19 13:19:36 +08:00
committed by GitHub
parent 8525f55ad0
commit fab0f07379
8 changed files with 28 additions and 28 deletions

View File

@ -148,8 +148,8 @@
> 執行以下指令會自動下載 RAGFlow slim Docker 映像 `v0.16.0-slim`。請參考下表查看不同 Docker 發行版的說明。如需下載不同於 `v0.16.0-slim` 的 Docker 映像,請在執行 `docker compose` 啟動服務之前先更新 **docker/.env** 檔案內的 `RAGFLOW_IMAGE` 變數。例如,你可以透過設定 `RAGFLOW_IMAGE=infiniflow/ragflow:v0.16.0` 來下載 RAGFlow 鏡像的 `v0.16.0` 完整發行版。
```bash
$ cd ragflow
$ docker compose -f docker/docker-compose.yml up -d
$ cd ragflow/docker
$ docker compose -f docker-compose.yml up -d
```
| RAGFlow image tag | Image size (GB) | Has embedding models? | Stable? |
@ -215,7 +215,7 @@
> 所有系統配置都需要透過系統重新啟動生效:
>
> ```bash
> $ docker compose -f docker/docker-compose.yml up -d
> $ docker compose -f docker-compose.yml up -d
> ```
###把文檔引擎從 Elasticsearch 切換成為 Infinity
@ -233,7 +233,7 @@ RAGFlow 預設使用 Elasticsearch 儲存文字和向量資料. 如果要切換
3. 啟動容器:
```bash
$ docker compose -f docker/docker-compose.yml up -d
$ docker compose -f docker-compose.yml up -d
```
> [!WARNING]