* perf: health check

* doc
This commit is contained in:
Archer
2026-02-13 11:23:02 +08:00
committed by GitHub
parent 3096ac5fe6
commit e5a791e4f7
29 changed files with 322 additions and 564 deletions

View File

@@ -9,15 +9,15 @@ description: 'FastGPT V4.14.7 更新说明'
- 更新 FastGPT 镜像 tag: v4.14.7
- 更新 FastGPT 商业版镜像 tag: v4.14.7
- 更新 fastgpt-plugin 镜像 tag: v0.5.3
- mcp_server 无需更新
- 更新 fastgpt-plugin 镜像 tag: v0.5.4
- mcp_server 无需更新4.14.7 镜像不可用,可用旧的)
- sandbox 无需更新
- 更新 AIProxy 镜像 tag: 0.3.15
- mongo 无需更新
### 2. 更新系统环境变量
更新了日志系统,包括但不限于日志打印、日志采集和日志分析等
更新了日志系统,包括但不限于日志打印、日志采集和日志分析等
```dotenv
# 移除环境变量
@@ -27,7 +27,7 @@ SIGNOZ_BASE_URL=
SIGNOZ_SERVICE_NAME=
SIGNOZ_STORE_LEVEL=
# 新增以下 6 个变量
# 新增以下 6 个变量fastgpt,fastgpt-pro,fastgpt-plugin,fastgpt-mcp-server均为相同变量
LOG_ENABLE_CONSOLE=true # 是否开启控制台打印
LOG_CONSOLE_LEVEL=debug # 控制台打印最低日志等级
LOG_ENABLE_OTEL=false # 是否开启 OTEL 日志收集

View File

@@ -7,7 +7,7 @@
"document/content/docs/faq/index.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/faq/other.mdx": "2025-08-04T22:07:52+08:00",
"document/content/docs/faq/points_consumption.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/introduction/cloud.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/introduction/cloud.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/introduction/commercial.mdx": "2025-09-21T23:09:46+08:00",
"document/content/docs/introduction/development/configuration.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/custom-models/bge-rerank.mdx": "2025-07-23T21:35:03+08:00",
@@ -20,7 +20,7 @@
"document/content/docs/introduction/development/custom-models/xinference.mdx": "2025-08-05T23:20:39+08:00",
"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-11-06T14:47:55+08:00",
"document/content/docs/introduction/development/docker.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/introduction/development/docker.mdx": "2026-02-12T20:12:18+08:00",
"document/content/docs/introduction/development/faq.mdx": "2025-08-12T22:22:18+08:00",
"document/content/docs/introduction/development/intro.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/introduction/development/migration/docker_db.mdx": "2025-07-23T21:35:03+08:00",
@@ -34,7 +34,7 @@
"document/content/docs/introduction/development/proxy/cloudflare.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/proxy/http_proxy.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/proxy/nginx.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/sealos.mdx": "2025-11-11T14:05:02+08:00",
"document/content/docs/introduction/development/sealos.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/introduction/development/signoz.mdx": "2026-02-12T16:37:50+08:00",
"document/content/docs/introduction/guide/DialogBoxes/htmlRendering.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/DialogBoxes/quoteList.mdx": "2025-07-23T21:35:03+08:00",
@@ -88,6 +88,12 @@
"document/content/docs/introduction/guide/team_permissions/invitation_link.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/team_permissions/team_roles_permissions.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/index.mdx": "2025-09-29T11:34:11+08:00",
"document/content/docs/openapi/app.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/openapi/chat.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/openapi/dataset.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/openapi/index.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/openapi/intro.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/openapi/share.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/protocol/index.mdx": "2025-07-30T15:38:30+08:00",
"document/content/docs/protocol/open-source.en.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/protocol/open-source.mdx": "2025-08-05T23:20:39+08:00",
@@ -96,7 +102,7 @@
"document/content/docs/protocol/terms.en.mdx": "2025-12-15T23:36:54+08:00",
"document/content/docs/protocol/terms.mdx": "2025-12-15T23:36:54+08:00",
"document/content/docs/toc.en.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/toc.mdx": "2026-02-12T16:37:50+08:00",
"document/content/docs/toc.mdx": "2026-02-12T18:45:30+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-09-08T20:07:20+08:00",
"document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00",
@@ -136,12 +142,12 @@
"document/content/docs/upgrading/4-8/461.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/462.mdx": "2025-08-04T22:07:52+08:00",
"document/content/docs/upgrading/4-8/463.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/464.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/upgrading/4-8/464.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/upgrading/4-8/465.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/upgrading/4-8/466.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/upgrading/4-8/467.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/upgrading/4-8/467.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/upgrading/4-8/468.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/upgrading/4-8/469.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/upgrading/4-8/469.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/upgrading/4-8/47.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/upgrading/4-8/471.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/upgrading/4-8/48.mdx": "2025-08-02T19:38:37+08:00",
@@ -168,14 +174,14 @@
"document/content/docs/upgrading/4-8/487.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/488.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/489.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/490.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/upgrading/4-9/490.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/upgrading/4-9/491.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/4910.mdx": "2025-08-04T22:07:52+08:00",
"document/content/docs/upgrading/4-9/4911.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/4912.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/4913.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/4914.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/492.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/upgrading/4-9/492.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/upgrading/4-9/493.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/494.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-9/495.mdx": "2025-08-02T19:38:37+08:00",
@@ -195,8 +201,8 @@
"document/content/docs/use-cases/app-cases/translate-subtitle-using-gpt.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/use-cases/external-integration/dingtalk.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/use-cases/external-integration/feishu.mdx": "2025-07-24T14:23:04+08:00",
"document/content/docs/use-cases/external-integration/official_account.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/use-cases/external-integration/openapi.mdx": "2026-02-12T18:02:02+08:00",
"document/content/docs/use-cases/external-integration/official_account.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/use-cases/external-integration/openapi.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/use-cases/external-integration/wecom.mdx": "2025-12-10T20:07:05+08:00",
"document/content/docs/use-cases/index.mdx": "2025-07-24T14:23:04+08:00"
}

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -189,7 +196,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -213,19 +220,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -254,31 +250,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.3
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -166,7 +173,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -190,19 +197,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -231,31 +227,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.3
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -147,7 +154,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -171,19 +178,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -212,31 +208,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.3
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -153,7 +160,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -177,19 +184,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -218,31 +214,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.3
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -131,7 +138,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -155,19 +162,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -196,31 +192,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.3
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -189,7 +196,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -213,19 +220,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -254,31 +250,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.5.3
image: ghcr.io/labring/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -166,7 +173,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -190,19 +197,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -231,31 +227,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.5.3
image: ghcr.io/labring/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -147,7 +154,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -171,19 +178,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -212,31 +208,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.5.3
image: ghcr.io/labring/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -153,7 +160,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -177,19 +184,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -218,31 +214,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.5.3
image: ghcr.io/labring/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy

View File

@@ -23,6 +23,13 @@ x-share-db-config: &x-share-db-config
STORAGE_S3_ENDPOINT: http://fastgpt-minio:9000 # 协议://域名(IP):端口
STORAGE_S3_FORCE_PATH_STYLE: true
STORAGE_S3_MAX_RETRIES: 3
# Log 配置
x-log-config: &x-log-config
LOG_ENABLE_CONSOLE: true
LOG_CONSOLE_LEVEL: debug
LOG_ENABLE_OTEL: false
LOG_OTEL_LEVEL: info
LOG_OTEL_URL: xxx/v1/logs
# 向量库相关配置
x-vec-config: &x-vec-config
@@ -131,7 +138,7 @@ services:
- vectorDB
restart: always
environment:
<<: [*x-share-db-config, *x-vec-config]
<<: [*x-share-db-config, *x-vec-config, *x-log-config]
# 前端外部可访问的地址,用于自动补全文件资源路径。例如 https:fastgpt.cn不能填 localhost。这个值可以不填不填则发给模型的图片会是一个相对路径而不是全路径模型可能伪造Host。
FE_DOMAIN:
# root 密码,用户名为: root。如果需要修改 root 密码,直接修改这个环境变量,并重启即可。
@@ -155,19 +162,8 @@ services:
# AI Proxy 的 Admin Token与 AI Proxy 中的环境变量 ADMIN_KEY
AIPROXY_API_TOKEN: *x-aiproxy-token
# 日志等级: debug, info, warn, error
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 控制台打印最低日志等级
LOG_CONSOLE_LEVEL: debug
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-client
# 你的 OTLP 收集器的地址,不要把 /v1/logs 遗漏了
LOG_OTEL_URL: http://localhost:4318/v1/logs
# 工作流最大运行次数
WORKFLOW_MAX_RUN_TIMES: 1000
@@ -196,31 +192,23 @@ services:
- 3005:3000
restart: always
environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000
<<: [*x-log-config]
FASTGPT_ENDPOINT: http://fastgpt:3000
fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.5.3
image: ghcr.io/labring/fastgpt-plugin:v0.5.4
container_name: fastgpt-plugin
restart: always
networks:
- fastgpt
environment:
<<: *x-share-db-config
<<: [*x-share-db-config, *x-log-config]
AUTH_TOKEN: *x-plugin-auth-token
# 工具网络请求,最大请求和响应体
SERVICE_REQUEST_MAX_CONTENT_LENGTH: 10
# 最大 API 请求体大小
MAX_API_SIZE: 10
# Log 配置
# 日志等级: debug, info, warn, error
LOG_LEVEL: info
# 是否开启控制台打印
LOG_ENABLE_CONSOLE: true
# 是否开启 OTEL 日志收集
LOG_ENABLE_OTEL: false
# OTEL 日志收集的最低日志等级
LOG_OTEL_LEVEL: info
# 传递给 OTLP 收集器的服务名称
LOG_OTEL_SERVICE_NAME: fastgpt-plugin
LOG_OTEL_URL: http://localhost:4318/v1/logs
depends_on:
fastgpt-minio:
condition: service_healthy