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

@ -176,8 +176,8 @@ releases! 🌟
> The command below downloads the `v0.16.0-slim` edition of the RAGFlow Docker image. Refer to the following table for descriptions of different RAGFlow editions. To download a RAGFlow edition different from `v0.16.0-slim`, update the `RAGFLOW_IMAGE` variable accordingly in **docker/.env** before using `docker compose` to start the server. For example: set `RAGFLOW_IMAGE=infiniflow/ragflow:v0.16.0` for the full edition `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? |
@ -240,7 +240,7 @@ to `<YOUR_SERVING_PORT>:80`.
Updates to the above configurations require a reboot of all containers to take effect:
> ```bash
> $ docker compose -f docker/docker-compose.yml up -d
> $ docker compose -f docker-compose.yml up -d
> ```
### Switch doc engine from Elasticsearch to Infinity
@ -258,7 +258,7 @@ RAGFlow uses Elasticsearch by default for storing full text and vectors. To swit
3. Start the containers:
```bash
$ docker compose -f docker/docker-compose.yml up -d
$ docker compose -f docker-compose.yml up -d
```
> [!WARNING]