選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

upgrade_ragflow.mdx 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ---
  2. sidebar_position: 7
  3. slug: /upgrade_ragflow
  4. ---
  5. # Upgrade RAGFlow
  6. import Tabs from '@theme/Tabs';
  7. import TabItem from '@theme/TabItem';
  8. ## Upgrade RAGFlow to `dev`, the most recent, tested Docker image
  9. 1. Clone the repo
  10. ```bash
  11. git clone https://github.com/infiniflow/ragflow.git
  12. ```
  13. 2. Update **ragflow/docker/.env** as follows:
  14. ```bash
  15. RAGFLOW_IMAGE=infiniflow/ragflow:dev
  16. ```
  17. 3. Update RAGFlow image and restart RAGFlow:
  18. ```bash
  19. docker compose -f docker/docker-compose.yml pull
  20. docker compose -f docker/docker-compose.yml up -d
  21. ```
  22. ## Upgrade RAGFlow to `latest`, the most recent, officially published release
  23. 1. Clone the repo
  24. ```bash
  25. git clone https://github.com/infiniflow/ragflow.git
  26. ```
  27. 2. Switch to the latest, officially published release, e.g., `v0.13.0`:
  28. ```bash
  29. git checkout v0.13.0
  30. ```
  31. 3. Update **ragflow/docker/.env** as follows:
  32. ```bash
  33. RAGFLOW_IMAGE=infiniflow/ragflow:latest
  34. ```
  35. 4. Update the RAGFlow image and restart RAGFlow:
  36. ```bash
  37. docker compose -f docker/docker-compose.yml pull
  38. docker compose -f docker/docker-compose.yml up -d
  39. ```