mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-13 22:56:28 +00:00
12
.github/workflows/docs-deploy.yml
vendored
12
.github/workflows/docs-deploy.yml
vendored
@@ -78,12 +78,12 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Rewrite image paths
|
||||
if: matrix.domain_config.suffix == 'io'
|
||||
run: |
|
||||
find document/content/docs -name "*.mdx" -type f | while read file; do
|
||||
sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file"
|
||||
done
|
||||
# - name: Rewrite image paths
|
||||
# if: matrix.domain_config.suffix == 'io'
|
||||
# run: |
|
||||
# find document/content/docs -name "*.mdx" -type f | while read file; do
|
||||
# sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file"
|
||||
# done
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
|
@@ -151,8 +151,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -209,15 +209,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -226,8 +226,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -126,8 +126,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -183,15 +183,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -200,8 +200,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -112,8 +112,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -169,15 +169,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -186,8 +186,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -92,8 +92,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -151,15 +151,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -168,8 +168,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -95,8 +95,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -152,15 +152,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -169,8 +169,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"title": "4.12.x",
|
||||
"title": "4.11.x",
|
||||
"description": "",
|
||||
"pages": ["4120"]
|
||||
"pages": ["4111", "4110"]
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: 'V4.12.0(进行中)'
|
||||
title: 'V4.12.0(包含升级脚本)'
|
||||
description: 'FastGPT V4.12.0 更新说明'
|
||||
---
|
||||
|
||||
@@ -7,7 +7,23 @@ description: 'FastGPT V4.12.0 更新说明'
|
||||
|
||||
### 1. 更新镜像:
|
||||
|
||||
### 2. 执行升级脚本
|
||||
- 更新 FastGPT 镜像tag: v4.12.0
|
||||
- 更新 FastGPT 商业版镜像tag: v4.12.0
|
||||
- 更新 fastgpt-plugin 镜像 tag: v0.1.9
|
||||
- mcp_server 无需更新
|
||||
- Sandbox 无需更新
|
||||
- AIProxy 无需更新
|
||||
|
||||
### 2. 修改环境变量
|
||||
|
||||
修改 FastGPT 商业版(fastgpt-pro) 环境变量:
|
||||
|
||||
```sh
|
||||
# 文件阅读时的密钥,与 fastgpt 镜像中环境变量一致
|
||||
FILE_TOKEN_KEY=filetokenkey
|
||||
```
|
||||
|
||||
### 3. 执行升级脚本
|
||||
|
||||
该脚本仅需商业版用户执行。
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"title": "4.11.x",
|
||||
"title": "4.12.x",
|
||||
"description": "",
|
||||
"pages": ["4112", "4111", "4110"]
|
||||
"pages": ["4120"]
|
||||
}
|
||||
|
@@ -4,6 +4,8 @@
|
||||
"description": "FastGPT 版本更新介绍及升级操作",
|
||||
"pages": [
|
||||
"index",
|
||||
"---4.12.x---",
|
||||
"...4-12",
|
||||
"---4.11.x---",
|
||||
"...4-11",
|
||||
"---4.10.x---",
|
||||
|
@@ -21,17 +21,17 @@
|
||||
"document/content/docs/introduction/development/design/dataset.mdx": "2025-07-23T21:35:03+08:00",
|
||||
"document/content/docs/introduction/development/design/design_plugin.mdx": "2025-07-24T13:00:27+08:00",
|
||||
"document/content/docs/introduction/development/docker.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/introduction/development/faq.mdx": "2025-08-09T14:20:10+08:00",
|
||||
"document/content/docs/introduction/development/faq.mdx": "2025-08-12T22:22:18+08:00",
|
||||
"document/content/docs/introduction/development/intro.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/introduction/development/migration/docker_db.mdx": "2025-07-23T21:35:03+08:00",
|
||||
"document/content/docs/introduction/development/migration/docker_mongo.mdx": "2025-07-23T21:35:03+08:00",
|
||||
"document/content/docs/introduction/development/modelConfig/ai-proxy.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/introduction/development/modelConfig/intro.mdx": "2025-08-09T14:20:10+08:00",
|
||||
"document/content/docs/introduction/development/modelConfig/intro.mdx": "2025-08-12T22:22:18+08:00",
|
||||
"document/content/docs/introduction/development/modelConfig/one-api.mdx": "2025-07-23T21:35:03+08:00",
|
||||
"document/content/docs/introduction/development/modelConfig/ppio.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/introduction/development/modelConfig/siliconCloud.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/introduction/development/openapi/chat.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/introduction/development/openapi/dataset.mdx": "2025-08-09T14:20:10+08:00",
|
||||
"document/content/docs/introduction/development/openapi/dataset.mdx": "2025-08-12T22:22:18+08:00",
|
||||
"document/content/docs/introduction/development/openapi/intro.mdx": "2025-07-23T21:35:03+08:00",
|
||||
"document/content/docs/introduction/development/openapi/share.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/introduction/development/proxy/cloudflare.mdx": "2025-07-23T21:35:03+08:00",
|
||||
@@ -97,12 +97,12 @@
|
||||
"document/content/docs/protocol/terms.en.mdx": "2025-08-03T22:37:45+08:00",
|
||||
"document/content/docs/protocol/terms.mdx": "2025-08-03T22:37:45+08:00",
|
||||
"document/content/docs/toc.en.mdx": "2025-08-04T13:42:36+08:00",
|
||||
"document/content/docs/toc.mdx": "2025-08-12T13:45:56+08:00",
|
||||
"document/content/docs/toc.mdx": "2025-08-12T22:22:18+08:00",
|
||||
"document/content/docs/upgrading/4-10/4100.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-10/4101.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00",
|
||||
"document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T21:04:44+08:00",
|
||||
"document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T22:22:18+08:00",
|
||||
"document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",
|
||||
|
@@ -16,7 +16,13 @@ const ProModal = (props: { isOpen?: boolean; onClose?: () => void }) => {
|
||||
const onClose = props?.onClose ?? (() => setIsOpen(false));
|
||||
|
||||
return feConfigs?.isPlus ? null : (
|
||||
<MyModal isOpen={openModal} onClose={onClose} showCloseButton={false} w={'400px'} h={'392px'}>
|
||||
<MyModal
|
||||
isOpen={openModal}
|
||||
onClose={onClose}
|
||||
showCloseButton={false}
|
||||
w={'400px'}
|
||||
minH={'392px'}
|
||||
>
|
||||
<ModalBody
|
||||
userSelect={'none'}
|
||||
py={8}
|
||||
|
@@ -5,7 +5,7 @@ import { useSystemStore } from '@/web/common/system/useSystemStore';
|
||||
|
||||
const LangMap: Record<string, string> = {
|
||||
'zh-CN': '/imgs/proTag.svg',
|
||||
'en-US': '/imgs/proTagEng.svg'
|
||||
en: '/imgs/proTagEng.svg'
|
||||
};
|
||||
|
||||
const ProTag = () => {
|
||||
|
Reference in New Issue
Block a user