ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: Is it possible to store all the knowledge base data into single bucket?

Open surya9teja opened this issue 1 year ago • 4 comments

Describe your problem

Hi,

Is it possible to leverage Docker Compose's .env file to centralize knowledge base data storage within a single bucket, eliminating the creation of individual buckets per knowledge base? If this necessitates source code modifications, could you point me towards the specific file(s) requiring changes?

surya9teja avatar Jun 07 '24 11:06 surya9teja

Could you tell me the specific reason.

KevinHuSh avatar Jun 07 '24 11:06 KevinHuSh

I am planning to use AWS S3 as my backend storage (replacing minio host with aws s3 host url didn't even know whether it works) so I want ragflow to store all the data into single bucket something like "sample.example.bucket" .

If you have any better approach for this replacing minio with aws s3 as a backend storage via access and secret key. Please suggest.

surya9teja avatar Jun 07 '24 13:06 surya9teja

You could have a look at rag/util/minio_conn.py. If you want to centrolize or something like that, just change this file.

KevinHuSh avatar Jun 11 '24 00:06 KevinHuSh

It seems possible to set a default bucket when using oss storage. It should be possible for s3 to support this setting also.

cheese avatar Apr 02 '25 10:04 cheese