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
Copy file name to clipboardExpand all lines: document/content/docs/self-host/config/object-storage.en.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,17 @@ This guide covers environment variable configuration for object storage provider
21
21
-`STORAGE_SECRET_ACCESS_KEY` Secret Access Key for the service credentials
22
22
-`STORAGE_PUBLIC_BUCKET` FastGPT public resource bucket name
23
23
-`STORAGE_PRIVATE_BUCKET` FastGPT private resource bucket name
24
+
-`STORAGE_TRANSFER_MODE` File transfer mode. Options:
25
+
-`proxy` (default): uploads and downloads are proxied by FastGPT backend; browser direct access to object storage is not required.
26
+
-`presigned`: uploads and downloads use object-storage presigned URLs (legacy-compatible mode).
24
27
25
28
### Self-Hosted MinIO and AWS S3
26
29
27
30
> MinIO has strong AWS S3 protocol support, so MinIO and AWS S3 configurations are nearly identical — differences come from provider-specific or self-hosted requirements.
28
31
> In theory, any object storage with S3 protocol support comparable to MinIO will work, such as SeaweedFS, RustFS, etc.
29
32
30
33
-`STORAGE_S3_ENDPOINT` Internal connection address. Can be a container ID, e.g., `http://fastgpt-minio:9000`
31
-
-`STORAGE_EXTERNAL_ENDPOINT` An address accessible by both **server** and **client** to reach the bucket. Use a fixed host IP or domain name — don't use `127.0.0.1` or `localhost` (containers can't access loopback addresses). This address is used when generating signed file upload URLs.
34
+
-`STORAGE_EXTERNAL_ENDPOINT` An address accessible by both **server** and **client** to reach the bucket. Use a fixed host IP or domain name — don't use `127.0.0.1` or `localhost` (containers can't access loopback addresses). When `STORAGE_TRANSFER_MODE=presigned`, this is used to generate upload/download presigned URLs.
32
35
-`STORAGE_S3_FORCE_PATH_STYLE`[Optional] Virtual-hosted-style or path-style routing. If vendor is `minio`, this is fixed to `true`.
33
36
-`STORAGE_S3_MAX_RETRIES`[Optional] Maximum request retry attempts. Default: 3
0 commit comments