infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
10.86k stars 1.04k forks source link

[Question]: If I need to migrate the data, which directory need to map when I create the container. #1044

Open taurusduan opened 1 month ago

taurusduan commented 1 month ago

Describe your problem

services: es01: container_name: ragflow-es-01 image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION} volumes:

volumes: esdata01: driver: local mysql_data: driver: local minio_data: driver: local redis_data: driver: local

networks: ragflow: driver: bridge

我把目录都映射到当前,但是 - ./esdata01:/usr/share/elasticsearch/data 创建的时候会出现错误。不知道是不是还要修改什么地方。

KevinHuSh commented 4 weeks ago

To migrate ES data is not easy. I'm afraid you need google migrate data of ES from docker volumes.

KevinHuSh commented 4 weeks ago

You need to migrate all the following data :

esdata01 mysql_data minio_data redis_data