Commit e9e44ee5 by Archer Committed by GitHub

doc (#6906)

* doc

* doc
parent 0aebb734
{ {
"tags": { "tags": {
"fastgpt": "v4.14.18", "fastgpt": "v4.14.19",
"fastgpt-code-sandbox": "v4.14.18", "fastgpt-code-sandbox": "v4.14.19",
"fastgpt-mcp_server": "v4.14.18", "fastgpt-mcp_server": "v4.14.19",
"fastgpt-plugin": "v0.6.1", "fastgpt-plugin": "v0.6.2",
"volume-manager": "v0.1", "volume-manager": "v0.1",
"agent-sandbox-image": "v0.1", "agent-sandbox-image": "v0.1",
"opensandbox-server": "v0.1.9", "opensandbox-server": "v0.1.9",
......
...@@ -174,7 +174,7 @@ services: ...@@ -174,7 +174,7 @@ services:
retries: 3 retries: 3
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
ports: ports:
- 3002:3000 - 3002:3000
networks: networks:
...@@ -220,7 +220,7 @@ services: ...@@ -220,7 +220,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
ports: ports:
- 3003:3000 - 3003:3000
networks: networks:
...@@ -229,7 +229,7 @@ services: ...@@ -229,7 +229,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
ports: ports:
......
...@@ -174,7 +174,7 @@ services: ...@@ -174,7 +174,7 @@ services:
retries: 3 retries: 3
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
ports: ports:
- 3002:3000 - 3002:3000
networks: networks:
...@@ -220,7 +220,7 @@ services: ...@@ -220,7 +220,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
ports: ports:
- 3003:3000 - 3003:3000
networks: networks:
...@@ -229,7 +229,7 @@ services: ...@@ -229,7 +229,7 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
ports: ports:
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -216,6 +216,7 @@ services: ...@@ -216,6 +216,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -227,8 +228,8 @@ services: ...@@ -227,8 +228,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -266,35 +267,11 @@ services: ...@@ -266,35 +267,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -343,7 +320,7 @@ services: ...@@ -343,7 +320,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -353,7 +330,7 @@ services: ...@@ -353,7 +330,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -194,6 +194,7 @@ services: ...@@ -194,6 +194,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -205,8 +206,8 @@ services: ...@@ -205,8 +206,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -244,35 +245,11 @@ services: ...@@ -244,35 +245,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -321,7 +298,7 @@ services: ...@@ -321,7 +298,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -331,7 +308,7 @@ services: ...@@ -331,7 +308,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -176,6 +176,7 @@ services: ...@@ -176,6 +176,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -187,8 +188,8 @@ services: ...@@ -187,8 +188,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -226,35 +227,11 @@ services: ...@@ -226,35 +227,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -303,7 +280,7 @@ services: ...@@ -303,7 +280,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -313,7 +290,7 @@ services: ...@@ -313,7 +290,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -151,7 +151,7 @@ services: ...@@ -151,7 +151,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -175,6 +175,7 @@ services: ...@@ -175,6 +175,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -186,8 +187,8 @@ services: ...@@ -186,8 +187,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -225,35 +226,11 @@ services: ...@@ -225,35 +226,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -302,7 +279,7 @@ services: ...@@ -302,7 +279,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -312,7 +289,7 @@ services: ...@@ -312,7 +289,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -181,6 +181,7 @@ services: ...@@ -181,6 +181,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -192,8 +193,8 @@ services: ...@@ -192,8 +193,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -231,35 +232,11 @@ services: ...@@ -231,35 +232,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -308,7 +285,7 @@ services: ...@@ -308,7 +285,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -318,7 +295,7 @@ services: ...@@ -318,7 +295,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -158,6 +158,7 @@ services: ...@@ -158,6 +158,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -169,8 +170,8 @@ services: ...@@ -169,8 +170,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -208,35 +209,11 @@ services: ...@@ -208,35 +209,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -285,7 +262,7 @@ services: ...@@ -285,7 +262,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -295,7 +272,7 @@ services: ...@@ -295,7 +272,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -216,6 +216,7 @@ services: ...@@ -216,6 +216,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -227,8 +228,8 @@ services: ...@@ -227,8 +228,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -266,35 +267,11 @@ services: ...@@ -266,35 +267,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -343,7 +320,7 @@ services: ...@@ -343,7 +320,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -353,7 +330,7 @@ services: ...@@ -353,7 +330,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -194,6 +194,7 @@ services: ...@@ -194,6 +194,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -205,8 +206,8 @@ services: ...@@ -205,8 +206,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -244,35 +245,11 @@ services: ...@@ -244,35 +245,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -321,7 +298,7 @@ services: ...@@ -321,7 +298,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -331,7 +308,7 @@ services: ...@@ -331,7 +308,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -176,6 +176,7 @@ services: ...@@ -176,6 +176,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -187,8 +188,8 @@ services: ...@@ -187,8 +188,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -226,35 +227,11 @@ services: ...@@ -226,35 +227,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -303,7 +280,7 @@ services: ...@@ -303,7 +280,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -313,7 +290,7 @@ services: ...@@ -313,7 +290,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -151,7 +151,7 @@ services: ...@@ -151,7 +151,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -175,6 +175,7 @@ services: ...@@ -175,6 +175,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -186,8 +187,8 @@ services: ...@@ -186,8 +187,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -225,35 +226,11 @@ services: ...@@ -225,35 +226,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -302,7 +279,7 @@ services: ...@@ -302,7 +279,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -312,7 +289,7 @@ services: ...@@ -312,7 +289,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -181,6 +181,7 @@ services: ...@@ -181,6 +181,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -192,8 +193,8 @@ services: ...@@ -192,8 +193,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -231,35 +232,11 @@ services: ...@@ -231,35 +232,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -308,7 +285,7 @@ services: ...@@ -308,7 +285,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -318,7 +295,7 @@ services: ...@@ -318,7 +295,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -158,6 +158,7 @@ services: ...@@ -158,6 +158,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -169,8 +170,8 @@ services: ...@@ -169,8 +170,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -208,35 +209,11 @@ services: ...@@ -208,35 +209,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -285,7 +262,7 @@ services: ...@@ -285,7 +262,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -295,7 +272,7 @@ services: ...@@ -295,7 +272,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
--- ---
title: 'V4.15.0(进行中)' title: 'V4.15.0-beta1'
description: 'FastGPT V4.15.0 更新说明' description: 'FastGPT V4.15.0-beta1 更新说明'
--- ---
## 升级指南 ## 升级指南
### 镜像变更 ### 镜像变更
- 更新 fastgpt-plugin 镜像 - 更新 fastgpt-app(fastgpt 主服务) 镜像 tag: v4.15.0-beta1
- 更新 AIProxy 镜像 tag: v0.5.6 - 更新 fastgpt-pro(fastgpt 商业版) 镜像 tag: v4.15.0-beta1
- 更新 fastgpt-plugin 镜像 tag: v0.6.2
- 更新 aiproxy 镜像 tag: v0.5.6
### 环境变量变更 ### 环境变量变更
`fastgpt-app`, `fastgpt-pro` 可增加文件解析并发线程数 `fastgpt-app` , `fastgpt-pro` 可增加文件解析并发线程数
```dotenv ```dotenv
# 文件解析 worker 并发数(可选) # 文件解析 worker 并发数(可选)
...@@ -33,7 +35,7 @@ TRUSTED_PROXY_IPS= ...@@ -33,7 +35,7 @@ TRUSTED_PROXY_IPS=
### 确认是否遗漏环境变量 ### 确认是否遗漏环境变量
本次升级,增加了对于环境变量的检测,避免漏填必须的环境变量,需重点检查`fastgpt-app`和`fastgpt-pro`是否包含: 本次升级,增加了对于环境变量的检测,避免漏填必须的环境变量,需重点检查 `fastgpt-app` 和 `fastgpt-pro` 是否包含:
```dotenv ```dotenv
# 密钥加密密钥,两个服务需一致 # 密钥加密密钥,两个服务需一致
...@@ -47,10 +49,11 @@ FILE_TOKEN_KEY= ...@@ -47,10 +49,11 @@ FILE_TOKEN_KEY=
1. 新增循环节点,弃用旧的批量执行。 1. 新增循环节点,弃用旧的批量执行。
2. 全局变量输入框支持输入 object 类型数据。 2. 全局变量输入框支持输入 object 类型数据。
3. 工具调用模式下,如果开启了虚拟机功能,用户对话框上传的文件会直接注入到虚拟机中。 3. 工具调用模式下,如果开启了虚拟机功能,用户对话框上传的文件会直接注入到虚拟机中。
4. 第三方知识库接入钉钉知识库。 4. 第三方知识库接入钉钉知识库(beta 版,目前存在富文本获取异常问题)
5. 增加文件解析/HTMLMarkdown/文本切块 worker pool,避免并发太高导致资源耗尽,可通过环境变量调整其 pool 数量。 5. 增加文件解析/HTMLMarkdown/文本切块 worker pool,避免并发太高导致资源耗尽,可通过环境变量调整其 pool 数量。
6. 模型思考配置。 6. 模型思考配置。
7. S3 支持配置 CDN。 7. S3 支持配置 CDN。
8. Rerank 支持配置 defaultConfig。
## ⚙️ 优化 ## ⚙️ 优化
......
...@@ -249,6 +249,8 @@ ...@@ -249,6 +249,8 @@
"content/self-host/upgrading/4-14/41416.mdx": "2026-04-26T22:41:57+08:00", "content/self-host/upgrading/4-14/41416.mdx": "2026-04-26T22:41:57+08:00",
"content/self-host/upgrading/4-14/41417.mdx": "2026-05-06T13:57:16+08:00", "content/self-host/upgrading/4-14/41417.mdx": "2026-05-06T13:57:16+08:00",
"content/self-host/upgrading/4-14/41418.mdx": "2026-05-06T13:57:16+08:00", "content/self-host/upgrading/4-14/41418.mdx": "2026-05-06T13:57:16+08:00",
"content/self-host/upgrading/4-14/41419.en.mdx": "2026-05-09T15:25:23+08:00",
"content/self-host/upgrading/4-14/41419.mdx": "2026-05-09T15:25:23+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.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/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",
...@@ -410,8 +412,8 @@ ...@@ -410,8 +412,8 @@
"content/self-host/upgrading/outdated/499.mdx": "2026-05-07T15:06:40+08:00", "content/self-host/upgrading/outdated/499.mdx": "2026-05-07T15:06:40+08:00",
"content/self-host/upgrading/upgrade-intruction.en.mdx": "2026-04-26T21:08:47+08:00", "content/self-host/upgrading/upgrade-intruction.en.mdx": "2026-04-26T21:08:47+08:00",
"content/self-host/upgrading/upgrade-intruction.mdx": "2026-04-26T21:08:47+08:00", "content/self-host/upgrading/upgrade-intruction.mdx": "2026-04-26T21:08:47+08:00",
"content/toc.en.mdx": "2026-05-07T15:06:40+08:00", "content/toc.en.mdx": "2026-05-09T15:25:23+08:00",
"content/toc.mdx": "2026-05-07T15:06:40+08:00", "content/toc.mdx": "2026-05-09T15:25:23+08:00",
"content/use-cases/app-cases/dalle3.en.mdx": "2026-04-26T21:08:47+08:00", "content/use-cases/app-cases/dalle3.en.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/dalle3.mdx": "2026-04-26T21:08:47+08:00", "content/use-cases/app-cases/dalle3.mdx": "2026-04-26T21:08:47+08:00",
"content/use-cases/app-cases/english_essay_correction_bot.en.mdx": "2026-04-26T21:08:47+08:00", "content/use-cases/app-cases/english_essay_correction_bot.en.mdx": "2026-04-26T21:08:47+08:00",
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -216,6 +216,7 @@ services: ...@@ -216,6 +216,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -227,8 +228,8 @@ services: ...@@ -227,8 +228,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -266,35 +267,11 @@ services: ...@@ -266,35 +267,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -343,7 +320,7 @@ services: ...@@ -343,7 +320,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -353,7 +330,7 @@ services: ...@@ -353,7 +330,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -194,6 +194,7 @@ services: ...@@ -194,6 +194,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -205,8 +206,8 @@ services: ...@@ -205,8 +206,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -244,35 +245,11 @@ services: ...@@ -244,35 +245,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -321,7 +298,7 @@ services: ...@@ -321,7 +298,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -331,7 +308,7 @@ services: ...@@ -331,7 +308,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -176,6 +176,7 @@ services: ...@@ -176,6 +176,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -187,8 +188,8 @@ services: ...@@ -187,8 +188,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -226,35 +227,11 @@ services: ...@@ -226,35 +227,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -303,7 +280,7 @@ services: ...@@ -303,7 +280,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -313,7 +290,7 @@ services: ...@@ -313,7 +290,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -151,7 +151,7 @@ services: ...@@ -151,7 +151,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -175,6 +175,7 @@ services: ...@@ -175,6 +175,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -186,8 +187,8 @@ services: ...@@ -186,8 +187,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -225,35 +226,11 @@ services: ...@@ -225,35 +226,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -302,7 +279,7 @@ services: ...@@ -302,7 +279,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -312,7 +289,7 @@ services: ...@@ -312,7 +289,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -181,6 +181,7 @@ services: ...@@ -181,6 +181,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -192,8 +193,8 @@ services: ...@@ -192,8 +193,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -231,35 +232,11 @@ services: ...@@ -231,35 +232,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -308,7 +285,7 @@ services: ...@@ -308,7 +285,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -318,7 +295,7 @@ services: ...@@ -318,7 +295,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -158,6 +158,7 @@ services: ...@@ -158,6 +158,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -169,8 +170,8 @@ services: ...@@ -169,8 +170,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -208,35 +209,11 @@ services: ...@@ -208,35 +209,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -285,7 +262,7 @@ services: ...@@ -285,7 +262,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.18 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -295,7 +272,7 @@ services: ...@@ -295,7 +272,7 @@ services:
<<: [*x-log-config] <<: [*x-log-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:v0.6.1 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -216,6 +216,7 @@ services: ...@@ -216,6 +216,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -227,8 +228,8 @@ services: ...@@ -227,8 +228,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -266,35 +267,11 @@ services: ...@@ -266,35 +267,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -343,7 +320,7 @@ services: ...@@ -343,7 +320,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -353,7 +330,7 @@ services: ...@@ -353,7 +330,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -194,6 +194,7 @@ services: ...@@ -194,6 +194,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -205,8 +206,8 @@ services: ...@@ -205,8 +206,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -244,35 +245,11 @@ services: ...@@ -244,35 +245,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -321,7 +298,7 @@ services: ...@@ -321,7 +298,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -331,7 +308,7 @@ services: ...@@ -331,7 +308,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -176,6 +176,7 @@ services: ...@@ -176,6 +176,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -187,8 +188,8 @@ services: ...@@ -187,8 +188,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -226,35 +227,11 @@ services: ...@@ -226,35 +227,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -303,7 +280,7 @@ services: ...@@ -303,7 +280,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -313,7 +290,7 @@ services: ...@@ -313,7 +290,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -151,7 +151,7 @@ services: ...@@ -151,7 +151,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -175,6 +175,7 @@ services: ...@@ -175,6 +175,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -186,8 +187,8 @@ services: ...@@ -186,8 +187,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -225,35 +226,11 @@ services: ...@@ -225,35 +226,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -302,7 +279,7 @@ services: ...@@ -302,7 +279,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -312,7 +289,7 @@ services: ...@@ -312,7 +289,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -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.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -181,6 +181,7 @@ services: ...@@ -181,6 +181,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -192,8 +193,8 @@ services: ...@@ -192,8 +193,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -231,35 +232,11 @@ services: ...@@ -231,35 +232,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -308,7 +285,7 @@ services: ...@@ -308,7 +285,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -318,7 +295,7 @@ services: ...@@ -318,7 +295,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -134,7 +134,7 @@ services: ...@@ -134,7 +134,7 @@ services:
fastgpt-app: fastgpt-app:
container_name: fastgpt-app container_name: fastgpt-app
image: ghcr.io/labring/fastgpt:v4.14.18 image: ghcr.io/labring/fastgpt:v4.14.19
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -158,6 +158,7 @@ services: ...@@ -158,6 +158,7 @@ services:
condition: service_healthy condition: service_healthy
restart: always restart: always
environment: environment:
# 完整变量请参考: https://github.com/labring/FastGPT/blob/main/projects/app/.env.template
<<: [*x-share-db-config, *x-vec-config, *x-log-config] <<: [*x-share-db-config, *x-vec-config, *x-log-config]
HOSTNAME: 0.0.0.0 HOSTNAME: 0.0.0.0
# ==================== 基础配置 ==================== # ==================== 基础配置 ====================
...@@ -169,8 +170,8 @@ services: ...@@ -169,8 +170,8 @@ services:
DEFAULT_ROOT_PSW: *x-default-root-psw DEFAULT_ROOT_PSW: *x-default-root-psw
# 数据库最大连接数 # 数据库最大连接数
DB_MAX_LINK: 5 DB_MAX_LINK: 5
# 自动同步索引(0 表示不同步) # 自动同步索引
SYNC_INDEX: 1 SYNC_INDEX: true
TOKEN_KEY: fastgpt TOKEN_KEY: fastgpt
# 文件阅读时的密钥 # 文件阅读时的密钥
FILE_TOKEN_KEY: filetokenkey FILE_TOKEN_KEY: filetokenkey
...@@ -208,35 +209,11 @@ services: ...@@ -208,35 +209,11 @@ services:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client LOG_OTEL_SERVICE_NAME: fastgpt-client
# ==================== 安全与运行限制 ====================
# 启动 IP 限流(true);部分接口启用 IP 限流策略以防止异常请求
USE_IP_LIMIT: false
# 工作流最大运行次数,避免极端死循环
WORKFLOW_MAX_RUN_TIMES: 1000
# 循环最大运行次数,避免极端死循环
WORKFLOW_MAX_LOOP_TIMES: 100
# 服务器接收请求的最大大小(MB)
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 启用内网 IP 检查
CHECK_INTERNAL_IP: false
# ==================== 上传与账号策略 ====================
# 最大上传文件大小(MB)
UPLOAD_FILE_MAX_SIZE: 1000
# 最大上传文件数量
UPLOAD_FILE_MAX_AMOUNT: 1000
# LLM 请求追踪保留时长(小时)
LLM_REQUEST_TRACKING_RETENTION_HOURS: 6
# ==================== 功能开关与特殊配置 ====================
# 自定义跨域;不配置时默认允许所有跨域(逗号分割)
ALLOWED_ORIGINS:
# HTML 转 Markdown 最大字符数(超过后不执行转换)
MAX_HTML_TRANSFORM_CHARS: 1000000
volumes: volumes:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
fastgpt-code-sandbox: fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox container_name: fastgpt-code-sandbox
image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.18 image: ghcr.io/labring/fastgpt-code-sandbox:v4.14.19
networks: networks:
- codesandbox - codesandbox
restart: always restart: always
...@@ -285,7 +262,7 @@ services: ...@@ -285,7 +262,7 @@ services:
retries: 3 retries: 3
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.14.18 image: ghcr.io/labring/fastgpt-mcp_server:v4.14.19
networks: networks:
- app - app
ports: ports:
...@@ -295,7 +272,7 @@ services: ...@@ -295,7 +272,7 @@ services:
<<: [*x-log-config] <<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt-app:3000 FASTGPT_ENDPOINT: http://fastgpt-app:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.6.1 image: ghcr.io/labring/fastgpt-plugin:v0.6.2
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
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