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.md 988B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. sidebar_position: 7
  3. slug: /upgrade_ragflow
  4. ---
  5. # Upgrade RAGFlow
  6. You can upgrade RAGFlow to dev version or the latest version:
  7. - A Dev version (Development version) is the latest, tested image.
  8. - The latest version is the most recent, officially published release.
  9. ## Upgrade RAGFlow to the dev version
  10. 1. Update **ragflow/docker/.env** as follows:
  11. ```bash
  12. RAGFLOW_IMAGE=infiniflow/ragflow:dev
  13. ```
  14. 2. Pull the latest code from inside Docker:
  15. ```bash
  16. git pull
  17. ```
  18. 3. Update RAGFlow image and restart RAGFlow:
  19. ```bash
  20. docker compose -f docker/docker-compose.yml pull
  21. docker compose -f docker/docker-compose.yml up -d
  22. ```
  23. ## Upgrade RAGFlow to the latest version
  24. 1. Update **ragflow/docker/.env** as follows:
  25. ```bash
  26. RAGFLOW_IMAGE=infiniflow/ragflow:latest
  27. ```
  28. 2. Update the RAGFlow image and restart RAGFlow:
  29. ```bash
  30. docker compose -f docker/docker-compose.yml pull
  31. docker compose -f docker/docker-compose.yml up -d
  32. ```