You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feat: extend S3 storage compatibility and add knowledge base ID prefix (#6355)
### What problem does this PR solve?
- Added support for S3-compatible protocols.
- Enabled the use of knowledge base ID as a file prefix when storing
files in S3.
- Updated docker/README.md to include detailed S3 and OSS configuration
instructions.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Copy file name to clipboardExpand all lines: docker/README.md
+19-1
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,24 @@ The [.env](./.env) file contains important environment variables for Docker.
136
136
-`password`: The password for MinIO.
137
137
-`host`: The MinIO serving IP *and* port inside the Docker container. Defaults to `minio:9000`.
138
138
139
+
-`oss`
140
+
-`access_key`: The access key ID used to authenticate requests to the OSS service.
141
+
-`secret_key`: The secret access key used to authenticate requests to the OSS service.
142
+
-`endpoint_url`: The URL of the OSS service endpoint.
143
+
-`region`: The OSS region where the bucket is located.
144
+
-`bucket`: The name of the OSS bucket where files will be stored. When you want to store all files in a specified bucket, you need this configuration item.
145
+
-`prefix_path`: Optional. A prefix path to prepend to file names in the OSS bucket, which can help organize files within the bucket.
146
+
147
+
-`s3`:
148
+
-`access_key`: The access key ID used to authenticate requests to the S3 service.
149
+
-`secret_key`: The secret access key used to authenticate requests to the S3 service.
150
+
-`endpoint_url`: The URL of the S3-compatible service endpoint. This is necessary when using an S3-compatible protocol instead of the default AWS S3 endpoint.
151
+
-`bucket`: The name of the S3 bucket where files will be stored. When you want to store all files in a specified bucket, you need this configuration item.
152
+
-`region`: The AWS region where the S3 bucket is located. This is important for directing requests to the correct data center.
153
+
-`signature_version`: Optional. The version of the signature to use for authenticating requests. Common versions include `v4`.
154
+
-`addressing_style`: Optional. The style of addressing to use for the S3 endpoint. This can be `path` or `virtual`.
155
+
-`prefix_path`: Optional. A prefix path to prepend to file names in the S3 bucket, which can help organize files within the bucket.
156
+
139
157
-`oauth`
140
158
The OAuth configuration for signing up or signing in to RAGFlow using a third-party account. It is disabled by default. To enable this feature, uncomment the corresponding lines in **service_conf.yaml.template**.
141
159
-`github`: The GitHub authentication settings for your application. Visit the [Github Developer Settings page](https://github.com/settings/developers) to obtain your client_id and secret_key.
@@ -152,4 +170,4 @@ The [.env](./.env) file contains important environment variables for Docker.
152
170
-`api_key`: The API key for the specified LLM. You will need to apply for your model API key online.
153
171
154
172
> [!TIP]
155
-
> If you do not set the default LLM here, configure the default LLM on the **Settings** page in the RAGFlow UI.
173
+
> If you do not set the default LLM here, configure the default LLM on the **Settings** page in the RAGFlow UI.
Copy file name to clipboardExpand all lines: docker/docker-compose.yml
+2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
include:
2
2
- ./docker-compose-base.yml
3
3
4
+
# To ensure that the container processes the locally modified `service_conf.yaml.template` instead of the one included in its image, you need to mount the local `service_conf.yaml.template` to the container.
0 commit comments