mirror of
https://git-proxy.hk.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-10 15:40:35 +08:00
add lf end-lines in *.sh
(#425)
### What problem does this PR solve? link #279 #266 ### Type of change - [x] Documentation Update --------- Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
parent
ac574af60a
commit
fe2f5205fc
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.sh text eol=lf
|
11
docs/faq.md
11
docs/faq.md
@ -208,19 +208,20 @@ docker compose up ragflow -d
|
||||
This exception occurs when starting up the RAGFlow server. Try the following:
|
||||
|
||||
1. Prolong the sleep time: Go to **docker/entrypoint.sh**, locate line 26, and replace `sleep 60` with `sleep 280`.
|
||||
2. Go to **docker/docker-compose.yml**, add the following after line 109:
|
||||
2. If using Windows, ensure that the **entrypoint.sh** has LF end-lines.
|
||||
3. Go to **docker/docker-compose.yml**, add the following after line 109:
|
||||
```
|
||||
./entrypoint.sh:/ragflow/entrypoint.sh
|
||||
```
|
||||
3. Change directory:
|
||||
4. Change directory:
|
||||
```bash
|
||||
cd docker
|
||||
```
|
||||
4. Stop the RAGFlow server:
|
||||
5. Stop the RAGFlow server:
|
||||
```bash
|
||||
docker compose stop
|
||||
```
|
||||
5. Restart up the RAGFlow server:
|
||||
6. Restart up the RAGFlow server:
|
||||
```bash
|
||||
docker compose up
|
||||
```
|
||||
@ -231,4 +232,4 @@ This exception occurs when starting up the RAGFlow server. Try the following:
|
||||
|
||||
1. Ensure that the RAGFlow server can access the base URL.
|
||||
2. Do not forget to append **/v1/** to **http://IP:port**:
|
||||
**http://IP:port/v1/**
|
||||
**http://IP:port/v1/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user