infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
22.82k stars 2.24k 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 5 months ago

taurusduan commented 5 months 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 5 months ago

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

KevinHuSh commented 5 months ago

You need to migrate all the following data :

esdata01 mysql_data minio_data redis_data

taurusduan commented 4 months ago

You need to migrate all the following data :

esdata01 mysql_data minio_data redis_data

你好,非常感谢。但是我这边遇到了问题。 es01: container_name: ragflow-es-01 image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION} volumes: