You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

upgrade_ragflow.mdx 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. You can upgrade RAGFlow to the dev version or the latest version:
  9. - The Dev version (Development version) is the latest, tested Docker image of RAGFlow.
  10. - The latest version is the most recent, officially published release. For example, `v0.13.0`.
  11. ## 1. Update RAGFLOW_IMAGE
  12. Update **ragflow/docker/.env** as follows:
  13. <Tabs
  14. defaultValue="dev"
  15. values={[
  16. {label: 'Upgrade RAGFlow to the dev version', value: 'dev'},
  17. {label: 'Upgrade RAGFlow to the latest version', value: 'latest'}
  18. ]}>
  19. <TabItem value="dev">
  20. :::danger IMPORTANT
  21. The Dev version (Development version) is the latest, tested Docker image of RAGFlow.
  22. :::
  23. ```bash
  24. RAGFLOW_IMAGE=infiniflow/ragflow:dev
  25. ```
  26. </TabItem>
  27. <TabItem value="latest">
  28. :::danger IMPORTANT
  29. The latest version is the most recent, officially published release. For example, `v0.13.0`.
  30. :::
  31. ```bash
  32. RAGFLOW_IMAGE=infiniflow/ragflow:latest
  33. ```
  34. </TabItem>
  35. </Tabs>
  36. ## 2. Pull the latest code
  37. Pull the latest code from inside Docker:
  38. ```bash
  39. git pull
  40. ```
  41. ## 3. Update RAGFlow image and restart RAGFlow
  42. ```bash
  43. docker compose -f docker/docker-compose.yml pull
  44. docker compose -f docker/docker-compose.yml up -d
  45. ```