mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-03 02:43:59 +08:00

### What problem does this PR solve? #3585 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
---
|
|
sidebar_position: 7
|
|
slug: /upgrade_ragflow
|
|
---
|
|
|
|
# Upgrade RAGFlow
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
## Upgrade RAGFlow to `dev`, the most recent, tested Docker image
|
|
|
|
1. Clone the repo
|
|
|
|
```bash
|
|
git clone https://github.com/infiniflow/ragflow.git
|
|
```
|
|
|
|
2. Update **ragflow/docker/.env** as follows:
|
|
|
|
```bash
|
|
RAGFLOW_IMAGE=infiniflow/ragflow:dev
|
|
```
|
|
|
|
3. Update RAGFlow image and restart RAGFlow:
|
|
|
|
```bash
|
|
docker compose -f docker/docker-compose.yml pull
|
|
docker compose -f docker/docker-compose.yml up -d
|
|
```
|
|
|
|
## Upgrade RAGFlow to `latest`, the most recent, officially published release
|
|
|
|
1. Clone the repo
|
|
|
|
```bash
|
|
git clone https://github.com/infiniflow/ragflow.git
|
|
```
|
|
|
|
2. Switch to the latest, officially published release, e.g., `v0.14.0`:
|
|
|
|
```bash
|
|
git checkout v0.14.0
|
|
```
|
|
|
|
3. Update **ragflow/docker/.env** as follows:
|
|
|
|
```bash
|
|
RAGFLOW_IMAGE=infiniflow/ragflow:latest
|
|
```
|
|
|
|
4. Update the RAGFlow image and restart RAGFlow:
|
|
|
|
```bash
|
|
docker compose -f docker/docker-compose.yml pull
|
|
docker compose -f docker/docker-compose.yml up -d
|
|
``` |