Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
1cd865d0
authored
May 21, 2026
by
Xianquan
Committed by
GitHub
May 21, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: docs (#6955)
parent
2ba13431
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
+14
-15
document/content/self-host/config/object-storage.en.mdx
+1
-1
document/content/self-host/config/object-storage.mdx
+10
-11
document/data/doc-last-modified.json
+3
-3
No files found.
document/content/self-host/config/object-storage.en.mdx
View file @
1cd865d0
...
@@ -43,7 +43,7 @@ This guide covers environment variable configuration for object storage provider
...
@@ -43,7 +43,7 @@ This guide covers environment variable configuration for object storage provider
**Complete Example**
**Complete Example**
> If using Sealos object storage, set `STORAGE_VENDOR` to `
aws-s3
`
> If using Sealos object storage, set `STORAGE_VENDOR` to `
minio
`
```dotenv
```dotenv
STORAGE_VENDOR=minio
STORAGE_VENDOR=minio
...
...
document/content/self-host/config/object-storage.mdx
View file @
1cd865d0
...
@@ -32,18 +32,17 @@ import FastGPTLink from '@/components/docs/linkFastGPT';
...
@@ -32,18 +32,17 @@ import FastGPTLink from '@/components/docs/linkFastGPT';
### 自部署的 MinIO 和 AWS S3
### 自部署的 MinIO 和 AWS S3
> MinIO 这类产品对 AWS S3 协议支持比较完整,因此使用 Minio 和AWS S3 配置几乎可以是相同的,只是因为服务商提供和自部署的区别,会有额外的配置。
> MinIO 这类产品对 AWS S3 协议支持比较完整,因此使用 Minio 和 AWS S3 配置几乎可以是相同的,只是因为服务商提供和自部署的区别,会有额外的配置。> 因此理论上任何对 AWS S3 协议的支持程度至少和 MinIO 相当的对象存储服务都可以使用,比如 SeaweedFS、RustFS 等。
> 因此理论上任何对 AWS S3 协议的支持程度至少和 MinIO 相当的对象存储服务都可以使用,比如 SeaweedFS、RustFS 等。
- `STORAGE_S3_ENDPOINT` 内网连接地址,可以是容器
id
连接,比如 `http://fastgpt-minio:9000`
- `STORAGE_S3_ENDPOINT` 内网连接地址,可以是容器
ID
连接,比如 `http://fastgpt-minio:9000`
- `STORAGE_EXTERNAL_ENDPOINT` 一个**服务器**和**客户端**均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用)。配置后,默认下载模式会自动切换为 `presigned`。
- `STORAGE_EXTERNAL_ENDPOINT` 一个**服务器**和**客户端**均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用)。配置后,默认下载模式会自动切换为 `presigned`。
- `STORAGE_S3_CDN_ENDPOINT`
【可选】S3/MinIO 预签名下载与预览访问的 CDN 地址。仅在当前下载走 `presigned` 模式时,FastGPT 会在生成文件访问 URL 后把地址替换成该 CDN 地址;该变量不会改变默认下载模式。上传仍走 FastGPT 后端代理,不会使用 CDN。
- `STORAGE_S3_CDN_ENDPOINT`【可选】S3/MinIO 预签名下载与预览访问的 CDN 地址。仅在当前下载走 `presigned` 模式时,FastGPT 会在生成文件访问 URL 后把地址替换成该 CDN 地址;该变量不会改变默认下载模式。上传仍走 FastGPT 后端代理,不会使用 CDN。
- `STORAGE_S3_FORCE_PATH_STYLE`
【可选】虚拟主机风格路由或路径路由风格,其中如果厂商填写了 `minio` 的话,该值被固定为 `true`
- `STORAGE_S3_FORCE_PATH_STYLE`【可选】虚拟主机风格路由或路径路由风格,其中如果厂商填写了 `minio` 的话,该值被固定为 `true`
- `STORAGE_S3_MAX_RETRIES`
【可选】请求最大尝试次数,默认为 3 次
- `STORAGE_S3_MAX_RETRIES`【可选】请求最大尝试次数,默认为 3 次
**完整示例**
**完整示例**
> 如果使用的是 Sealos 的对象存储服务请将 `STORAGE_VENDOR` 填写为 `
aws-s3
`
> 如果使用的是 Sealos 的对象存储服务请将 `STORAGE_VENDOR` 填写为 `
minio
`
```dotenv
```dotenv
STORAGE_VENDOR=minio
STORAGE_VENDOR=minio
...
@@ -66,7 +65,7 @@ STORAGE_S3_MAX_RETRIES=3
...
@@ -66,7 +65,7 @@ STORAGE_S3_MAX_RETRIES=3
- `STORAGE_OSS_ENDPOINT` 阿里云对象存储连接主机名,厂商提供的默认值一般都是 `{地区}.aliyuncs.com`,如 `oss-cn-hangzhou.aliyuncs.com`;注意,如果配置了自定义域名的话也填在这里,比如 `your-domain.com`
- `STORAGE_OSS_ENDPOINT` 阿里云对象存储连接主机名,厂商提供的默认值一般都是 `{地区}.aliyuncs.com`,如 `oss-cn-hangzhou.aliyuncs.com`;注意,如果配置了自定义域名的话也填在这里,比如 `your-domain.com`
- `STORAGE_OSS_CNAME` 是否开启自定义域名
- `STORAGE_OSS_CNAME` 是否开启自定义域名
- `STORAGE_OSS_SECURE` 是否开启了 TLS,如果域名没有认证证书的话,请关闭该选项
- `STORAGE_OSS_SECURE` 是否开启了 TLS,如果域名没有认证证书的话,请关闭该选项
- `STORAGE_OSS_INTERNAL`
【可选】是否开启内网访问,如果你的服务也在阿里云的话可以开启并节省流量,默认关闭
- `STORAGE_OSS_INTERNAL`【可选】是否开启内网访问,如果你的服务也在阿里云的话可以开启并节省流量,默认关闭
**完整示例**
**完整示例**
...
@@ -88,9 +87,9 @@ STORAGE_OSS_INTERNAL=false
...
@@ -88,9 +87,9 @@ STORAGE_OSS_INTERNAL=false
> - [跨域配置](https://cloud.tencent.com/document/product/436/13318)
> - [跨域配置](https://cloud.tencent.com/document/product/436/13318)
- `STORAGE_COS_PROTOCOL` 枚举可选值 `https:`、`http:`,注意不要忘记 `:`;如果自定义域名没有上传证书的话,请不要设置为 `https:`
- `STORAGE_COS_PROTOCOL` 枚举可选值 `https:`、`http:`,注意不要忘记 `:`;如果自定义域名没有上传证书的话,请不要设置为 `https:`
- `STORAGE_COS_USE_ACCELERATE`
【可选】是否启用全球加速域名,默认为 false。若改为 true,需要存储桶开启全球加速功能
- `STORAGE_COS_USE_ACCELERATE`【可选】是否启用全球加速域名,默认为 false。若改为 true,需要存储桶开启全球加速功能
- `STORAGE_COS_CNAME_DOMAIN`
【可选】自定义域名,如 `your-domain.com`
- `STORAGE_COS_CNAME_DOMAIN`【可选】自定义域名,如 `your-domain.com`
- `STORAGE_COS_PROXY`
【可选】代理服务器,如 `http://localhost:7897`
- `STORAGE_COS_PROXY`【可选】代理服务器,如 `http://localhost:7897`
**完整示例**
**完整示例**
...
...
document/data/doc-last-modified.json
View file @
1cd865d0
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
"content/self-host/upgrading/4-14/4142.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4142.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4142.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4142.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/41420.en.mdx"
:
"2026-05-14T17:58:58+08:00"
,
"content/self-host/upgrading/4-14/41420.en.mdx"
:
"2026-05-14T17:58:58+08:00"
,
"content/self-host/upgrading/4-14/41420.mdx"
:
"2026-05-1
4T17:58:58
+08:00"
,
"content/self-host/upgrading/4-14/41420.mdx"
:
"2026-05-1
9T14:44:21
+08:00"
,
"content/self-host/upgrading/4-14/4143.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4143.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4143.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4143.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4144.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4144.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
...
@@ -273,8 +273,8 @@
...
@@ -273,8 +273,8 @@
"content/self-host/upgrading/4-14/41481.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/41481.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4149.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4149.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4149.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-14/4149.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/4-15/4150.mdx"
:
"2026-05-
19T11:28:13
+08:00"
,
"content/self-host/upgrading/4-15/4150.mdx"
:
"2026-05-
20T17:52:26
+08:00"
,
"content/self-host/upgrading/4-15/41502.mdx"
:
"2026-05-18T1
7:26:1
6+08:00"
,
"content/self-host/upgrading/4-15/41502.mdx"
:
"2026-05-18T1
9:47:2
6+08:00"
,
"content/self-host/upgrading/outdated/40.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/outdated/40.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/outdated/40.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/outdated/40.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/outdated/41.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
"content/self-host/upgrading/outdated/41.en.mdx"
:
"2026-04-26T21:08:47+08:00"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment