Commit 1d5a4f38 by xyliou Committed by GitHub

fix v4.15 compose template yaml syntax and install.sh replacement (#7344)

parent df6dc47d
...@@ -390,4 +390,4 @@ volumes: ...@@ -390,4 +390,4 @@ volumes:
fastgpt-seekdb-config: fastgpt-seekdb-config:
fastgpt-aiproxy_pg: fastgpt-aiproxy_pg:
${{vec.extraBlock}} # ${{vec.extraBlock}}
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # ${{vec.config}} x-vec-config: &x-vec-config
# ${{vec.config}}
services: services:
# ${{vec.db}} # ${{vec.db}}
......
...@@ -253,6 +253,9 @@ services: ...@@ -253,6 +253,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -231,6 +231,9 @@ services: ...@@ -231,6 +231,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -215,6 +215,9 @@ services: ...@@ -215,6 +215,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -213,6 +213,9 @@ services: ...@@ -213,6 +213,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -218,6 +218,9 @@ services: ...@@ -218,6 +218,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -194,6 +194,9 @@ services: ...@@ -194,6 +194,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -253,6 +253,9 @@ services: ...@@ -253,6 +253,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -231,6 +231,9 @@ services: ...@@ -231,6 +231,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -215,6 +215,9 @@ services: ...@@ -215,6 +215,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -213,6 +213,9 @@ services: ...@@ -213,6 +213,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -218,6 +218,9 @@ services: ...@@ -218,6 +218,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -194,6 +194,9 @@ services: ...@@ -194,6 +194,9 @@ services:
AIPROXY_API_TOKEN: *x-aiproxy-token AIPROXY_API_TOKEN: *x-aiproxy-token
# MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址 # MCP Server 代理地址,用于 MCP 使用方式页拼接 SSE 地址
SSE_MCP_SERVER_PROXY_ENDPOINT: SSE_MCP_SERVER_PROXY_ENDPOINT:
# 官网访客归因 CRM;地址需包含 /api/v1,为空时不进行身份上报
CRM_API_URL:
CRM_API_KEY:
# ==================== 日志与监控 ==================== # ==================== 日志与监控 ====================
# 传递给 OTLP 收集器的服务名称 # 传递给 OTLP 收集器的服务名称
......
...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config ...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # MILVUS_ADDRESS: http://fastgpt-vector:19530 x-vec-config: &x-vec-config
MILVUS_ADDRESS: http://fastgpt-vector:19530
MILVUS_TOKEN: none MILVUS_TOKEN: none
services: services:
fastgpt-milvus-minio: fastgpt-milvus-minio:
container_name: fastgpt-milvus-minio container_name: fastgpt-milvus-minio
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # OCEANBASE_URL: mysql://root%40tenantname:tenantpassword@fastgpt-vector:2881/mysql x-vec-config: &x-vec-config
OCEANBASE_URL: mysql://root%40tenantname:tenantpassword@fastgpt-vector:2881/mysql
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # OPENGAUSS_URL: postgresql://gaussdb:FastGPT@123@fastgpt-vector:5432/fastgpt x-vec-config: &x-vec-config
OPENGAUSS_URL: postgresql://gaussdb:FastGPT@123@fastgpt-vector:5432/fastgpt
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # PG_URL: postgresql://username:password@fastgpt-vector:5432/postgres x-vec-config: &x-vec-config
PG_URL: postgresql://username:password@fastgpt-vector:5432/postgres
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # SEEKDB_URL: mysql://root:seekdbpassword@fastgpt-vector:2881/mysql x-vec-config: &x-vec-config
SEEKDB_URL: mysql://root:seekdbpassword@fastgpt-vector:2881/mysql
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config ...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # MILVUS_ADDRESS: zilliz_cloud_address x-vec-config: &x-vec-config
MILVUS_ADDRESS: zilliz_cloud_address
MILVUS_TOKEN: zilliz_cloud_token MILVUS_TOKEN: zilliz_cloud_token
services: services:
fastgpt-mongo: fastgpt-mongo:
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 image: registry.cn-hangzhou.aliyuncs.com/fastgpt/mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29
......
...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config ...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # MILVUS_ADDRESS: http://fastgpt-vector:19530 x-vec-config: &x-vec-config
MILVUS_ADDRESS: http://fastgpt-vector:19530
MILVUS_TOKEN: none MILVUS_TOKEN: none
services: services:
fastgpt-milvus-minio: fastgpt-milvus-minio:
container_name: fastgpt-milvus-minio container_name: fastgpt-milvus-minio
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # OCEANBASE_URL: mysql://root%40tenantname:tenantpassword@fastgpt-vector:2881/mysql x-vec-config: &x-vec-config
OCEANBASE_URL: mysql://root%40tenantname:tenantpassword@fastgpt-vector:2881/mysql
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # OPENGAUSS_URL: postgresql://gaussdb:FastGPT@123@fastgpt-vector:5432/fastgpt x-vec-config: &x-vec-config
OPENGAUSS_URL: postgresql://gaussdb:FastGPT@123@fastgpt-vector:5432/fastgpt
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # PG_URL: postgresql://username:password@fastgpt-vector:5432/postgres x-vec-config: &x-vec-config
PG_URL: postgresql://username:password@fastgpt-vector:5432/postgres
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config ...@@ -165,8 +165,8 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # SEEKDB_URL: mysql://root:seekdbpassword@fastgpt-vector:2881/mysql x-vec-config: &x-vec-config
SEEKDB_URL: mysql://root:seekdbpassword@fastgpt-vector:2881/mysql
services: services:
fastgpt-vector: fastgpt-vector:
......
...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config ...@@ -165,10 +165,10 @@ x-service-env-config: &x-service-env-config
WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false WORKFLOW_HTTP_IGNORE_HTTPS_CERT: false
# 向量库相关配置 # 向量库相关配置
x-vec-config: &x-vec-config # MILVUS_ADDRESS: zilliz_cloud_address x-vec-config: &x-vec-config
MILVUS_ADDRESS: zilliz_cloud_address
MILVUS_TOKEN: zilliz_cloud_token MILVUS_TOKEN: zilliz_cloud_token
services: services:
fastgpt-mongo: fastgpt-mongo:
image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29 image: mongo:5.0.32 # cpu 不支持 AVX 时候使用 4.4.29
......
...@@ -286,7 +286,7 @@ randomize_compose_credentials() { ...@@ -286,7 +286,7 @@ randomize_compose_credentials() {
replace_text "mongodb://myusername:mypassword@fastgpt-mongo:27017/fastgpt-plugin?authSource=admin" "mongodb://myusername:$mongo_password@fastgpt-mongo:27017/fastgpt-plugin?authSource=admin" replace_text "mongodb://myusername:mypassword@fastgpt-mongo:27017/fastgpt-plugin?authSource=admin" "mongodb://myusername:$mongo_password@fastgpt-mongo:27017/fastgpt-plugin?authSource=admin"
replace_text "- MONGO_INITDB_ROOT_PASSWORD=mypassword" "- MONGO_INITDB_ROOT_PASSWORD=$mongo_password" replace_text "- MONGO_INITDB_ROOT_PASSWORD=mypassword" "- MONGO_INITDB_ROOT_PASSWORD=$mongo_password"
replace_text "'-p', 'mypassword'" "'-p', '$mongo_password'" replace_text "'-p', 'mypassword'" "'-p', '$mongo_password'"
replace_text '"mypassword",' "\"$mongo_password\"," replace_text "'mypassword'," "'$mongo_password',"
replace_text " mongo -u myusername -p mypassword " " mongo -u myusername -p $mongo_password " replace_text " mongo -u myusername -p mypassword " " mongo -u myusername -p $mongo_password "
# Redis 密码需要同时改连接串、启动命令和健康检查。 # Redis 密码需要同时改连接串、启动命令和健康检查。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment