mirror of
https://github.com/labring/FastGPT.git
synced 2026-04-26 02:07:28 +08:00
+1
-1
@@ -3,7 +3,7 @@
|
||||
"fastgpt": "v4.14.7",
|
||||
"fastgpt-sandbox": "v4.14.7",
|
||||
"fastgpt-mcp_server": "v4.14.6",
|
||||
"fastgpt-plugin": "v0.5.3",
|
||||
"fastgpt-plugin": "v0.5.4",
|
||||
"aiproxy": "v0.3.5",
|
||||
"aiproxy-pg": "0.8.0-pg15",
|
||||
"mongo": "5.0.32",
|
||||
|
||||
@@ -153,7 +153,7 @@ services:
|
||||
environment:
|
||||
- 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
|
||||
ports:
|
||||
|
||||
@@ -153,7 +153,7 @@ services:
|
||||
environment:
|
||||
- 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
|
||||
ports:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -130,7 +137,7 @@ ${{vec.db}}
|
||||
- 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 密码,直接修改这个环境变量,并重启即可。
|
||||
@@ -154,19 +161,8 @@ ${{vec.db}}
|
||||
# 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
|
||||
@@ -195,7 +191,8 @@ ${{vec.db}}
|
||||
- 3005:3000
|
||||
restart: always
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
<<: [*x-log-config]
|
||||
FASTGPT_ENDPOINT: http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ${{fastgpt-plugin.image}}:${{fastgpt-plugin.tag}}
|
||||
container_name: fastgpt-plugin
|
||||
@@ -203,23 +200,14 @@ ${{vec.db}}
|
||||
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
|
||||
|
||||
@@ -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 日志收集
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -9,3 +9,14 @@ export const isProVersion = () => {
|
||||
|
||||
export const serviceRequestMaxContentLength =
|
||||
Number(process.env.SERVICE_REQUEST_MAX_CONTENT_LENGTH || 10) * 1024 * 1024; // 10MB
|
||||
|
||||
export const InitialErrorEnum = {
|
||||
S3_ERROR: 's3_error',
|
||||
MONGO_ERROR: 'mongo_error',
|
||||
REDIS_ERROR: 'redis_error',
|
||||
VECTORDB_ERROR: 'vectordb_error',
|
||||
PLUGIN_ERROR: 'plugin_error',
|
||||
PRO_ERROR: 'pro_error',
|
||||
SANDBOX_ERROR: 'code_sandbox_error',
|
||||
MCP_SERVER_ERROR: 'mcp_server_error'
|
||||
};
|
||||
|
||||
@@ -26,9 +26,10 @@ export async function register() {
|
||||
{ initBullMQWorkers },
|
||||
{ initS3Buckets },
|
||||
{ initGeo },
|
||||
{ instrumentationCheck, ErrorEnum },
|
||||
{ instrumentationCheck },
|
||||
{ getErrText },
|
||||
{ configureLogger, getLogger, LogCategories }
|
||||
{ configureLogger, getLogger, LogCategories },
|
||||
{ InitialErrorEnum }
|
||||
] = await Promise.all([
|
||||
import('@fastgpt/service/common/mongo/init'),
|
||||
import('@fastgpt/service/common/mongo/index'),
|
||||
@@ -48,7 +49,8 @@ export async function register() {
|
||||
import('@fastgpt/service/common/geo'),
|
||||
import('@/service/common/system/health'),
|
||||
import('@fastgpt/global/common/error/utils'),
|
||||
import('@fastgpt/service/common/logger')
|
||||
import('@fastgpt/service/common/logger'),
|
||||
import('@fastgpt/service/common/system/constants')
|
||||
]);
|
||||
|
||||
await configureLogger();
|
||||
@@ -67,19 +69,19 @@ export async function register() {
|
||||
url: MONGO_URL,
|
||||
connectedCb: () => startMongoWatch()
|
||||
}).catch((err) => {
|
||||
return Promise.reject(`[${ErrorEnum.MONGO_ERROR}]: ${getErrText(err)}`);
|
||||
return Promise.reject(`[${InitialErrorEnum.MONGO_ERROR}]: ${getErrText(err)}`);
|
||||
}),
|
||||
connectMongo({
|
||||
db: connectionLogMongo,
|
||||
url: MONGO_LOG_URL
|
||||
}).catch((err) => {
|
||||
return Promise.reject(`[${ErrorEnum.MONGO_ERROR}]: ${getErrText(err)}`);
|
||||
return Promise.reject(`[${InitialErrorEnum.MONGO_ERROR}]: ${getErrText(err)}`);
|
||||
}),
|
||||
initBullMQWorkers().catch((err) => {
|
||||
return Promise.reject(`[${ErrorEnum.REDIS_ERROR}]: ${getErrText(err)}`);
|
||||
return Promise.reject(`[${InitialErrorEnum.REDIS_ERROR}]: ${getErrText(err)}`);
|
||||
}),
|
||||
initVectorStore().catch((err) => {
|
||||
return Promise.reject(`[${ErrorEnum.VECTORDB_ERROR}]: ${getErrText(err)}`);
|
||||
return Promise.reject(`[${InitialErrorEnum.VECTORDB_ERROR}]: ${getErrText(err)}`);
|
||||
})
|
||||
]);
|
||||
|
||||
|
||||
@@ -3,19 +3,10 @@ import { SandboxCodeTypeEnum } from '@fastgpt/global/core/workflow/template/syst
|
||||
import { POST } from '@fastgpt/service/common/api/plusRequest';
|
||||
import { getLogger, LogCategories } from '@fastgpt/service/common/logger';
|
||||
import { S3Buckets } from '@fastgpt/service/common/s3/constants';
|
||||
import { InitialErrorEnum } from '@fastgpt/service/common/system/constants';
|
||||
import { runCode } from '@fastgpt/service/core/workflow/dispatch/tools/codeSandbox';
|
||||
import { loadModelProviders } from '@fastgpt/service/thirdProvider/fastgptPlugin/model';
|
||||
|
||||
export const ErrorEnum = {
|
||||
S3_ERROR: 's3_error',
|
||||
MONGO_ERROR: 'mongo_error',
|
||||
REDIS_ERROR: 'redis_error',
|
||||
VECTORDB_ERROR: 'vectordb_error',
|
||||
PLUGIN_ERROR: 'plugin_error',
|
||||
PRO_ERROR: 'pro_error',
|
||||
SANDBOX_ERROR: 'code_sandbox_error',
|
||||
MCP_SERVER_ERROR: 'mcp_server_error'
|
||||
};
|
||||
export const instrumentationCheck = async () => {
|
||||
const logger = getLogger(LogCategories.SYSTEM);
|
||||
logger.info('instrumentation check start');
|
||||
@@ -27,12 +18,12 @@ export const instrumentationCheck = async () => {
|
||||
try {
|
||||
await global.s3BucketMap[S3Buckets.public].checkBucketHealth();
|
||||
} catch (error) {
|
||||
return Promise.reject(`[${ErrorEnum.S3_ERROR}] public bucket: ${getErrText(error)}`);
|
||||
return Promise.reject(`[${InitialErrorEnum.S3_ERROR}] public bucket: ${getErrText(error)}`);
|
||||
}
|
||||
try {
|
||||
await global.s3BucketMap[S3Buckets.private].checkBucketHealth();
|
||||
} catch (error) {
|
||||
return Promise.reject(`[${ErrorEnum.S3_ERROR}] private bucket: ${getErrText(error)}`);
|
||||
return Promise.reject(`[${InitialErrorEnum.S3_ERROR}] private bucket: ${getErrText(error)}`);
|
||||
}
|
||||
|
||||
/* server */
|
||||
@@ -40,7 +31,7 @@ export const instrumentationCheck = async () => {
|
||||
try {
|
||||
await loadModelProviders();
|
||||
} catch (error) {
|
||||
const message = `[${ErrorEnum.PLUGIN_ERROR}]: ${getErrText(error)}`;
|
||||
const message = `[${InitialErrorEnum.PLUGIN_ERROR}]: ${getErrText(error)}`;
|
||||
console.error(message);
|
||||
return Promise.reject(message);
|
||||
}
|
||||
@@ -52,7 +43,7 @@ export const instrumentationCheck = async () => {
|
||||
throw new Error('Root key is invalid');
|
||||
}
|
||||
} catch (error) {
|
||||
const message = `[${ErrorEnum.PRO_ERROR}]: ${getErrText(error)}`;
|
||||
const message = `[${InitialErrorEnum.PRO_ERROR}]: ${getErrText(error)}`;
|
||||
console.error(message, { error });
|
||||
return Promise.reject(message);
|
||||
}
|
||||
@@ -69,7 +60,7 @@ export const instrumentationCheck = async () => {
|
||||
variables: {}
|
||||
});
|
||||
} catch (error) {
|
||||
console.warn(`${ErrorEnum.SANDBOX_ERROR}]: ${getErrText(error)}`);
|
||||
console.warn(`${InitialErrorEnum.SANDBOX_ERROR}]: ${getErrText(error)}`);
|
||||
}
|
||||
logger.info('instrumentation check finish');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user