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

@ -149,8 +149,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? |
@ -216,7 +216,7 @@
> 所有系统配置都需要通过系统重启生效:
>
> ```bash
> $ docker compose -f docker/docker-compose.yml up -d
> $ docker compose -f docker-compose.yml up -d
> ```
### 把文档引擎从 Elasticsearch 切换成为 Infinity
@ -234,7 +234,7 @@ RAGFlow 默认使用 Elasticsearch 存储文本和向量数据. 如果要切换
3. 启动容器:
```bash
$ docker compose -f docker/docker-compose.yml up -d
$ docker compose -f docker-compose.yml up -d
```
> [!WARNING]