Commit 9321e7fc by Archer Committed by GitHub

doc (#7326)

parent b9b6e230
...@@ -39,7 +39,7 @@ x-share-db-config: &x-share-db-config ...@@ -39,7 +39,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -248,7 +248,7 @@ services: ...@@ -248,7 +248,7 @@ services:
<<: [*x-no-proxy-config] <<: [*x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt:3000 FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
network_mode: host network_mode: host
......
...@@ -39,7 +39,7 @@ x-share-db-config: &x-share-db-config ...@@ -39,7 +39,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -248,7 +248,7 @@ services: ...@@ -248,7 +248,7 @@ services:
<<: [*x-no-proxy-config] <<: [*x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt:3000 FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
network_mode: host network_mode: host
......
...@@ -39,7 +39,7 @@ x-share-db-config: &x-share-db-config ...@@ -39,7 +39,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
......
{ {
"tags": { "tags": {
"fastgpt": "v4.15.1", "fastgpt": "v4.15.2",
"fastgpt-plugin": "v1.0.1", "fastgpt-plugin": "v1.0.2",
"fastgpt-code-sandbox": "v4.15.0", "fastgpt-code-sandbox": "v4.15.0",
"fastgpt-mcp_server": "v4.14.23", "fastgpt-mcp_server": "v4.14.23",
......
{ {
"tags": { "tags": {
"fastgpt": "v4.15.1", "fastgpt": "v4.15.2",
"fastgpt-plugin": "v1.0.1", "fastgpt-plugin": "v1.0.2",
"fastgpt-code-sandbox": "v4.15.0", "fastgpt-code-sandbox": "v4.15.0",
"fastgpt-mcp_server": "v4.14.23", "fastgpt-mcp_server": "v4.14.23",
......
...@@ -5,7 +5,7 @@ description: 'FastGPT V4.15.2 更新说明' ...@@ -5,7 +5,7 @@ description: 'FastGPT V4.15.2 更新说明'
## 📦 升级指南 ## 📦 升级指南
### OpenSandbox 镜像升级 ### 1. OpenSandbox 镜像升级
如果部署中启用了 OpenSandbox,请同步更新以下镜像: 如果部署中启用了 OpenSandbox,请同步更新以下镜像:
...@@ -15,7 +15,7 @@ description: 'FastGPT V4.15.2 更新说明' ...@@ -15,7 +15,7 @@ description: 'FastGPT V4.15.2 更新说明'
升级后可修复中文文件名的文件无法下载的问题。完整配置请参考 [OpenSandbox 配置](../../config/sandbox/opensandbox)。 升级后可修复中文文件名的文件无法下载的问题。完整配置请参考 [OpenSandbox 配置](../../config/sandbox/opensandbox)。
### AGENT_ENGINE 环境变量值调整 ### 2. AGENT_ENGINE 环境变量值调整
V4.15.2 起,`AGENT_ENGINE` 使用新的枚举值。升级前,请按下表修改部署环境变量: V4.15.2 起,`AGENT_ENGINE` 使用新的枚举值。升级前,请按下表修改部署环境变量:
...@@ -26,7 +26,7 @@ V4.15.2 起,`AGENT_ENGINE` 使用新的枚举值。升级前,请按下表修 ...@@ -26,7 +26,7 @@ V4.15.2 起,`AGENT_ENGINE` 使用新的枚举值。升级前,请按下表修
旧值不再兼容。继续使用 `default` 或 `pi` 会导致环境变量校验失败,FastGPT 无法启动。未配置 `AGENT_ENGINE` 时,可正常启动,系统默认使用 `fastAgent`。 旧值不再兼容。继续使用 `default` 或 `pi` 会导致环境变量校验失败,FastGPT 无法启动。未配置 `AGENT_ENGINE` 时,可正常启动,系统默认使用 `fastAgent`。
### 修改文件下载模式变量 ### 3. 修改文件下载模式变量
V4.15.2 新增 `STORAGE_DOWNLOAD_URL_MODE` 环境变量,默认值为 `short-proxy`。 V4.15.2 新增 `STORAGE_DOWNLOAD_URL_MODE` 环境变量,默认值为 `short-proxy`。
...@@ -39,6 +39,12 @@ V4.15.2 新增 `STORAGE_DOWNLOAD_URL_MODE` 环境变量,默认值为 `short-pr ...@@ -39,6 +39,12 @@ V4.15.2 新增 `STORAGE_DOWNLOAD_URL_MODE` 环境变量,默认值为 `short-pr
使用 `short-redirect` 时,必须配置 `STORAGE_EXTERNAL_ENDPOINT`。 使用 `short-redirect` 时,必须配置 `STORAGE_EXTERNAL_ENDPOINT`。
### 4. 镜像变更
- 更新 fastgpt-app(fastgpt 主服务) 镜像 tag: v4.15.2
- 更新 fastgpt-pro(fastgpt 商业版) 镜像 tag: v4.15.2
- 更新 fastgpt-plugin 镜像 tag: v1.0.2
## 🚀 新增内容 ## 🚀 新增内容
1. 工作流节点增加实时错误提示。 1. 工作流节点增加实时错误提示。
......
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
"content/self-host/upgrading/4-15/4151.en.mdx": "2026-07-07T21:14:28+08:00", "content/self-host/upgrading/4-15/4151.en.mdx": "2026-07-07T21:14:28+08:00",
"content/self-host/upgrading/4-15/4151.mdx": "2026-07-07T21:14:28+08:00", "content/self-host/upgrading/4-15/4151.mdx": "2026-07-07T21:14:28+08:00",
"content/self-host/upgrading/4-15/4152.en.mdx": "2026-07-17T16:16:34+08:00", "content/self-host/upgrading/4-15/4152.en.mdx": "2026-07-17T16:16:34+08:00",
"content/self-host/upgrading/4-15/4152.mdx": "2026-07-17T16:16:34+08:00", "content/self-host/upgrading/4-15/4152.mdx": "2026-07-17T17:55:20+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",
......
...@@ -15,7 +15,7 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a ...@@ -15,7 +15,7 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a
- 默认使用脚本非交互模式:国内镜像源、自动随机密钥、检测到的第一个主 IP、`PostgreSQL + pgvector` 向量库。 - 默认使用脚本非交互模式:国内镜像源、自动随机密钥、检测到的第一个主 IP、`PostgreSQL + pgvector` 向量库。
- 不要覆盖用户已有的 `docker-compose.yml` 或数据卷,除非用户明确同意。 - 不要覆盖用户已有的 `docker-compose.yml` 或数据卷,除非用户明确同意。
- 不要在公开输出里泄露除 `root` 初始登录密码外的服务 Token、数据库密码或应用密钥。 - 不要在公开输出里泄露除 `root` 初始登录密码外的服务 Token、数据库密码或应用密钥。
- 如果宿主机已有反向代理、域名或云厂商防火墙,先完成本机部署验证,再提醒用户开放或映射 `3000``9000``3003` - 如果宿主机已有反向代理、域名或云厂商防火墙,先完成本机部署验证,再提醒用户开放或映射 `3000``3003`。仅旧版外部 S3 下载链路还需要开放 `9000`
## 部署流程 ## 部署流程
...@@ -49,17 +49,18 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a ...@@ -49,17 +49,18 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a
FASTGPT_NON_INTERACTIVE=true bash install.sh FASTGPT_NON_INTERACTIVE=true bash install.sh
``` ```
非交互模式会默认选择最新稳定版本、国内镜像源、`PostgreSQL + pgvector`、自动随机密钥,并把 S3/MCP 地址设置为检测到的第一个主 IP 非交互模式会默认选择最新稳定版本、国内镜像源、`PostgreSQL + pgvector`、自动随机密钥,并把 MCP 地址设置为检测到的第一个主 IP。当前版本的默认 `short-proxy` 下载模式不需要配置外部 S3 地址
如果用户明确给了公网域名或固定 IP,用环境变量覆盖 endpoint: 如果用户明确给了 MCP 公网域名或固定 IP,用环境变量覆盖 endpoint:
```bash ```bash
FASTGPT_NON_INTERACTIVE=true \ FASTGPT_NON_INTERACTIVE=true \
FASTGPT_S3_ENDPOINT=https://s3.example.com:9000 \
FASTGPT_MCP_ENDPOINT=https://mcp.example.com:3003 \ FASTGPT_MCP_ENDPOINT=https://mcp.example.com:3003 \
bash install.sh bash install.sh
``` ```
`FASTGPT_S3_ENDPOINT` 仅用于仍包含 `STORAGE_EXTERNAL_ENDPOINT` 的 v4.14 或本地旧版 Compose。
可选覆盖项: 可选覆盖项:
- `FASTGPT_DEPLOY_VERSION`:部署版本,例如 `v4.15` 或 `main`。 - `FASTGPT_DEPLOY_VERSION`:部署版本,例如 `v4.15` 或 `main`。
- `FASTGPT_REGION`:镜像源,`cn` 或 `global`。 - `FASTGPT_REGION`:镜像源,`cn` 或 `global`。
...@@ -104,7 +105,7 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a ...@@ -104,7 +105,7 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a
## 常见问题处理 ## 常见问题处理
- 端口冲突:用 `docker compose ps``docker compose logs` 确认冲突端口,修改 `docker-compose.yml` 左侧宿主机端口,例如 `3001:3000`,再运行 `docker compose up -d` - 端口冲突:用 `docker compose ps``docker compose logs` 确认冲突端口,修改 `docker-compose.yml` 左侧宿主机端口,例如 `3001:3000`,再运行 `docker compose up -d`
- S3 地址错误:检查 `STORAGE_EXTERNAL_ENDPOINT`,必须是客户端和 FastGPT 容器都能访问的地址,不能是 `127.0.0.1``localhost` - 旧版 S3 地址错误:仅 v4.14 或自定义旧版 Compose 需要检查 `STORAGE_EXTERNAL_ENDPOINT`;该地址必须同时可被客户端和 FastGPT 容器访问,不能是 `127.0.0.1``localhost`
- Mongo 启动失败且日志出现 `Illegal instruction`:CPU 可能不支持 AVX,把 Mongo 镜像切换为 4.x 版本后重建相关容器。 - Mongo 启动失败且日志出现 `Illegal instruction`:CPU 可能不支持 AVX,把 Mongo 镜像切换为 4.x 版本后重建相关容器。
- 数据库或向量库未就绪:先看对应容器日志,不要删除数据卷;只有确认是首次失败且没有有效数据时,才建议用户清理数据卷重试。 - 数据库或向量库未就绪:先看对应容器日志,不要删除数据卷;只有确认是首次失败且没有有效数据时,才建议用户清理数据卷重试。
- 配置文件改动后:运行 `docker compose up -d` 让 Compose 应用变更;必要时只重启相关服务。 - 配置文件改动后:运行 `docker compose up -d` 让 Compose 应用变更;必要时只重启相关服务。
...@@ -118,7 +119,7 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a ...@@ -118,7 +119,7 @@ description: FastGPT Docker Compose self-hosting deployment workflow. Use when a
- FastGPT 访问地址,例如 `http://<服务器地址>:3000` - FastGPT 访问地址,例如 `http://<服务器地址>:3000`
- 登录账号:`root` - 登录账号:`root`
- 登录密码:脚本输出的随机密码,或 `docker-compose.yml` 中的 `DEFAULT_ROOT_PSW` - 登录密码:脚本输出的随机密码,或 `docker-compose.yml` 中的 `DEFAULT_ROOT_PSW`
- 已开放或需要开放的端口:`3000``9000``3003` - 已开放或需要开放的端口:`3000``3003`;仅旧版外部 S3 下载链路还需要 `9000`
- 下一步动作:登录后到 `账号-模型提供商` 配置语言模型和索引模型;如需使用系统插件,到插件市场安装;如需公网 HTTPS,配置域名和反向代理。 - 下一步动作:登录后到 `账号-模型提供商` 配置语言模型和索引模型;如需使用系统插件,到插件市场安装;如需公网 HTTPS,配置域名和反向代理。
如果未完全成功,返回当前卡住的容器、关键日志、已尝试的修复动作和下一步需要用户确认的事项。 如果未完全成功,返回当前卡住的容器、关键日志、已尝试的修复动作和下一步需要用户确认的事项。
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -192,7 +192,7 @@ services: ...@@ -192,7 +192,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -347,7 +347,7 @@ services: ...@@ -347,7 +347,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -170,7 +170,7 @@ services: ...@@ -170,7 +170,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -325,7 +325,7 @@ services: ...@@ -325,7 +325,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -154,7 +154,7 @@ services: ...@@ -154,7 +154,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -309,7 +309,7 @@ services: ...@@ -309,7 +309,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -152,7 +152,7 @@ services: ...@@ -152,7 +152,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -307,7 +307,7 @@ services: ...@@ -307,7 +307,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -157,7 +157,7 @@ services: ...@@ -157,7 +157,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -312,7 +312,7 @@ services: ...@@ -312,7 +312,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -135,7 +135,7 @@ services: ...@@ -135,7 +135,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -288,7 +288,7 @@ services: ...@@ -288,7 +288,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -192,7 +192,7 @@ services: ...@@ -192,7 +192,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -347,7 +347,7 @@ services: ...@@ -347,7 +347,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -170,7 +170,7 @@ services: ...@@ -170,7 +170,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -325,7 +325,7 @@ services: ...@@ -325,7 +325,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -154,7 +154,7 @@ services: ...@@ -154,7 +154,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -309,7 +309,7 @@ services: ...@@ -309,7 +309,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -152,7 +152,7 @@ services: ...@@ -152,7 +152,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -307,7 +307,7 @@ services: ...@@ -307,7 +307,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -157,7 +157,7 @@ services: ...@@ -157,7 +157,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -312,7 +312,7 @@ services: ...@@ -312,7 +312,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config ...@@ -25,7 +25,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -135,7 +135,7 @@ services: ...@@ -135,7 +135,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -288,7 +288,7 @@ services: ...@@ -288,7 +288,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -326,7 +326,7 @@ services: ...@@ -326,7 +326,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -434,7 +434,7 @@ services: ...@@ -434,7 +434,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -304,7 +304,7 @@ services: ...@@ -304,7 +304,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -412,7 +412,7 @@ services: ...@@ -412,7 +412,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -288,7 +288,7 @@ services: ...@@ -288,7 +288,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -396,7 +396,7 @@ services: ...@@ -396,7 +396,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -286,7 +286,7 @@ services: ...@@ -286,7 +286,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -394,7 +394,7 @@ services: ...@@ -394,7 +394,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -291,7 +291,7 @@ services: ...@@ -291,7 +291,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -399,7 +399,7 @@ services: ...@@ -399,7 +399,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -269,7 +269,7 @@ services: ...@@ -269,7 +269,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -375,7 +375,7 @@ services: ...@@ -375,7 +375,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -326,7 +326,7 @@ services: ...@@ -326,7 +326,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -434,7 +434,7 @@ services: ...@@ -434,7 +434,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -304,7 +304,7 @@ services: ...@@ -304,7 +304,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -412,7 +412,7 @@ services: ...@@ -412,7 +412,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -288,7 +288,7 @@ services: ...@@ -288,7 +288,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -396,7 +396,7 @@ services: ...@@ -396,7 +396,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -286,7 +286,7 @@ services: ...@@ -286,7 +286,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -394,7 +394,7 @@ services: ...@@ -394,7 +394,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -291,7 +291,7 @@ services: ...@@ -291,7 +291,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -399,7 +399,7 @@ services: ...@@ -399,7 +399,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config ...@@ -33,8 +33,7 @@ x-share-db-config: &x-share-db-config
STORAGE_SECRET_ACCESS_KEY: minioadmin STORAGE_SECRET_ACCESS_KEY: minioadmin
STORAGE_PUBLIC_BUCKET: fastgpt-public STORAGE_PUBLIC_BUCKET: fastgpt-public
STORAGE_PRIVATE_BUCKET: fastgpt-private STORAGE_PRIVATE_BUCKET: fastgpt-private
STORAGE_EXTERNAL_ENDPOINT: http://192.168.0.2:9000 # 一个服务器和客户端均可访问到存储桶的地址,可以是固定的宿主机 IP 或者域名,注意不要填写成 127.0.0.1 或者 localhost 等本地回环地址(因为容器里无法使用) STORAGE_DOWNLOAD_URL_MODE: short-proxy # short-proxy | short-redirect
STORAGE_S3_CDN_ENDPOINT:
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口 STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3 STORAGE_S3_MAX_RETRIES: 3
...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config ...@@ -124,6 +123,7 @@ x-service-env-config: &x-service-env-config
MULTIPLE_DATA_TO_BASE64: true MULTIPLE_DATA_TO_BASE64: true
USE_IP_LIMIT: false USE_IP_LIMIT: false
CHECK_INTERNAL_IP: false CHECK_INTERNAL_IP: false
AUTH_COOKIE_SECURE: false
TRUSTED_PROXY_ENABLE: false TRUSTED_PROXY_ENABLE: false
TRUSTED_PROXY_IPS: TRUSTED_PROXY_IPS:
PASSWORD_LOGIN_LOCK_SECONDS: PASSWORD_LOGIN_LOCK_SECONDS:
...@@ -269,7 +269,7 @@ services: ...@@ -269,7 +269,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.15.1 image: ghcr.io/labring/fastgpt:v4.15.2
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -375,7 +375,7 @@ services: ...@@ -375,7 +375,7 @@ services:
<<: [*x-log-config, *x-no-proxy-config] <<: [*x-log-config, *x-no-proxy-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v1.0.1 image: ghcr.io/labring/fastgpt-plugin:v1.0.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -550,7 +550,11 @@ select_address() { ...@@ -550,7 +550,11 @@ select_address() {
return return
fi fi
echo "错误: 未检测到可用 IP 地址。请设置 FASTGPT_S3_ENDPOINT 和 FASTGPT_MCP_ENDPOINT 后重试。" >&2 if [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ]; then
echo "错误: 未检测到可用 IP 地址。请设置 FASTGPT_S3_ENDPOINT 和 FASTGPT_MCP_ENDPOINT 后重试。" >&2
else
echo "错误: 未检测到可用 IP 地址。请设置 FASTGPT_MCP_ENDPOINT 后重试。" >&2
fi
exit 1 exit 1
fi fi
...@@ -582,10 +586,20 @@ select_address() { ...@@ -582,10 +586,20 @@ select_address() {
fi fi
} }
# ========== 6. 选择 S3 访问地址 (端口 9000) ========== # v4.14 使用旧版 MinIO 下载链路;本地 Compose 则以实际配置决定是否需要外部地址。
select_address "请选择 S3 访问地址 - 客户端和容器均需可访问 (↑↓ 选择, 回车确认, 通常默认第一个即可):" 9000 "$FASTGPT_S3_ENDPOINT" NEEDS_S3_EXTERNAL_ENDPOINT=false
S3_ADDR="$SELECTED_ADDR" if [ "$DEPLOY_VERSION" == "v4.14" ]; then
S3_CUSTOM=$SELECTED_CUSTOM NEEDS_S3_EXTERNAL_ENDPOINT=true
elif [ "$DEPLOY_VERSION" == "$LOCAL_DEPLOY_VERSION" ] && LC_ALL=C grep -q "STORAGE_EXTERNAL_ENDPOINT" "$LOCAL_COMPOSE_PATH"; then
NEEDS_S3_EXTERNAL_ENDPOINT=true
fi
if [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ]; then
# ========== 6. 选择 S3 访问地址 (端口 9000) ==========
select_address "请选择 S3 访问地址 - 客户端和容器均需可访问 (↑↓ 选择, 回车确认, 通常默认第一个即可):" 9000 "$FASTGPT_S3_ENDPOINT"
S3_ADDR="$SELECTED_ADDR"
S3_CUSTOM=$SELECTED_CUSTOM
fi
# ========== 7. 选择 SSE MCP 访问地址 (端口 3003) ========== # ========== 7. 选择 SSE MCP 访问地址 (端口 3003) ==========
select_address "请选择 SSE MCP 访问地址 - 客户端和容器均需可访问 (↑↓ 选择, 回车确认, 通常默认第一个即可):" 3003 "$FASTGPT_MCP_ENDPOINT" select_address "请选择 SSE MCP 访问地址 - 客户端和容器均需可访问 (↑↓ 选择, 回车确认, 通常默认第一个即可):" 3003 "$FASTGPT_MCP_ENDPOINT"
...@@ -601,7 +615,7 @@ if [ "$REGION" == "global" ]; then ...@@ -601,7 +615,7 @@ if [ "$REGION" == "global" ]; then
fi fi
# 构建显示地址 # 构建显示地址
if [ -n "$S3_ADDR" ]; then if [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ] && [ -n "$S3_ADDR" ]; then
if $S3_CUSTOM; then if $S3_CUSTOM; then
S3_DISPLAY="$S3_ADDR" S3_DISPLAY="$S3_ADDR"
else else
...@@ -635,7 +649,9 @@ else ...@@ -635,7 +649,9 @@ else
echo " 镜像源: $REGION_LABEL" echo " 镜像源: $REGION_LABEL"
echo " 向量数据库: $VECTOR" echo " 向量数据库: $VECTOR"
fi fi
echo " S3 地址: $S3_DISPLAY" if [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ]; then
echo " S3 地址: $S3_DISPLAY"
fi
echo " MCP 地址: $MCP_DISPLAY" echo " MCP 地址: $MCP_DISPLAY"
echo " 密钥处理: $CREDENTIALS_LABEL" echo " 密钥处理: $CREDENTIALS_LABEL"
echo "==============================" echo "=============================="
...@@ -748,7 +764,7 @@ else ...@@ -748,7 +764,7 @@ else
fi fi
# ========== 替换 S3 访问地址 ========== # ========== 替换 S3 访问地址 ==========
if [ -n "$S3_ADDR" ]; then if [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ] && [ -n "$S3_ADDR" ]; then
if $S3_CUSTOM; then if $S3_CUSTOM; then
# 自定义输入:解析 scheme / host / port,整体替换模板中的完整地址 # 自定义输入:解析 scheme / host / port,整体替换模板中的完整地址
S3_RAW="$S3_ADDR" S3_RAW="$S3_ADDR"
...@@ -796,7 +812,7 @@ if [ -n "$S3_ADDR" ]; then ...@@ -796,7 +812,7 @@ if [ -n "$S3_ADDR" ]; then
else else
echo "警告: 替换 S3 地址失败,请手动编辑 docker-compose.yml 中的 http://192.168.0.2:9000" echo "警告: 替换 S3 地址失败,请手动编辑 docker-compose.yml 中的 http://192.168.0.2:9000"
fi fi
else elif [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ]; then
echo "警告: 未设置 S3 地址,请手动编辑 docker-compose.yml 中的 http://192.168.0.2:9000" echo "警告: 未设置 S3 地址,请手动编辑 docker-compose.yml 中的 http://192.168.0.2:9000"
fi fi
...@@ -911,13 +927,21 @@ fi ...@@ -911,13 +927,21 @@ fi
if LC_ALL=C grep -q "opensandbox-agent-sandbox-image" docker-compose.yml; then if LC_ALL=C grep -q "opensandbox-agent-sandbox-image" docker-compose.yml; then
echo " 1. 预热沙盒: docker compose --profile prepull pull opensandbox-agent-sandbox-image opensandbox-execd-image opensandbox-egress-image" echo " 1. 预热沙盒: docker compose --profile prepull pull opensandbox-agent-sandbox-image opensandbox-execd-image opensandbox-egress-image"
echo " 2. 启动服务: docker compose up -d" echo " 2. 启动服务: docker compose up -d"
echo " 3. 开放端口: 3000, 9000, 3003" if [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ]; then
echo " 3. 开放端口: 3000, 9000, 3003"
else
echo " 3. 开放端口: 3000, 3003"
fi
echo " 4. 访问服务: http://localhost:3000" echo " 4. 访问服务: http://localhost:3000"
echo " 5. 登录服务: 默认账号为 'root', 密码为: '$ROOT_LOGIN_PASSWORD'" echo " 5. 登录服务: 默认账号为 'root', 密码为: '$ROOT_LOGIN_PASSWORD'"
echo " 6. 配置模型: 在 '账号-模型提供商' 页面,进行模型配置" echo " 6. 配置模型: 在 '账号-模型提供商' 页面,进行模型配置"
else else
echo " 1. 启动服务: docker compose up -d" echo " 1. 启动服务: docker compose up -d"
echo " 2. 开放端口: 3000, 9000, 3003" if [ "$NEEDS_S3_EXTERNAL_ENDPOINT" = true ]; then
echo " 2. 开放端口: 3000, 9000, 3003"
else
echo " 2. 开放端口: 3000, 3003"
fi
echo " 3. 访问服务: http://localhost:3000" echo " 3. 访问服务: http://localhost:3000"
echo " 4. 登录服务: 默认账号为 'root', 密码为: '$ROOT_LOGIN_PASSWORD'" echo " 4. 登录服务: 默认账号为 'root', 密码为: '$ROOT_LOGIN_PASSWORD'"
echo " 5. 配置模型: 在 '账号-模型提供商' 页面,进行模型配置" echo " 5. 配置模型: 在 '账号-模型提供商' 页面,进行模型配置"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment