From 139e934345f2482985475920fdb3aa878300be55 Mon Sep 17 00:00:00 2001 From: zijiren <84728412+zijiren233@users.noreply.github.com> Date: Wed, 12 Mar 2025 12:41:04 +0800 Subject: [PATCH] feat: aiproxy repo moved (#4116) * feat: aiproxy repo * fix --- deploy/docker/docker-compose-milvus.yml | 4 ++-- deploy/docker/docker-compose-pgvector.yml | 4 ++-- deploy/docker/docker-compose-zilliz.yml | 4 ++-- docSite/content/zh-cn/docs/development/upgrading/490.md | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/deploy/docker/docker-compose-milvus.yml b/deploy/docker/docker-compose-milvus.yml index e5a90446b..83391062d 100644 --- a/deploy/docker/docker-compose-milvus.yml +++ b/deploy/docker/docker-compose-milvus.yml @@ -175,7 +175,7 @@ services: # AI Proxy aiproxy: - image: 'ghcr.io/labring/sealos-aiproxy-service:latest' + image: 'ghcr.io/labring/aiproxy:latest' container_name: aiproxy restart: unless-stopped depends_on: @@ -191,7 +191,7 @@ services: # 数据库连接地址 - SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy # 最大重试次数 - - RetryTimes=3 + - RETRY_TIMES=3 # 不需要计费 - BILLING_ENABLED=false # 不需要严格检测模型 diff --git a/deploy/docker/docker-compose-pgvector.yml b/deploy/docker/docker-compose-pgvector.yml index 0d763c912..f36f6dd81 100644 --- a/deploy/docker/docker-compose-pgvector.yml +++ b/deploy/docker/docker-compose-pgvector.yml @@ -132,7 +132,7 @@ services: # AI Proxy aiproxy: - image: 'ghcr.io/labring/sealos-aiproxy-service:latest' + image: 'ghcr.io/labring/aiproxy:latest' container_name: aiproxy restart: unless-stopped depends_on: @@ -148,7 +148,7 @@ services: # 数据库连接地址 - SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy # 最大重试次数 - - RetryTimes=3 + - RETRY_TIMES=3 # 不需要计费 - BILLING_ENABLED=false # 不需要严格检测模型 diff --git a/deploy/docker/docker-compose-zilliz.yml b/deploy/docker/docker-compose-zilliz.yml index c4cafe71c..704316e09 100644 --- a/deploy/docker/docker-compose-zilliz.yml +++ b/deploy/docker/docker-compose-zilliz.yml @@ -113,7 +113,7 @@ services: # AI Proxy aiproxy: - image: 'ghcr.io/labring/sealos-aiproxy-service:latest' + image: 'ghcr.io/labring/aiproxy:latest' container_name: aiproxy restart: unless-stopped depends_on: @@ -129,7 +129,7 @@ services: # 数据库连接地址 - SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy # 最大重试次数 - - RetryTimes=3 + - RETRY_TIMES=3 # 不需要计费 - BILLING_ENABLED=false # 不需要严格检测模型 diff --git a/docSite/content/zh-cn/docs/development/upgrading/490.md b/docSite/content/zh-cn/docs/development/upgrading/490.md index eb654c1b5..beeedfbd8 100644 --- a/docSite/content/zh-cn/docs/development/upgrading/490.md +++ b/docSite/content/zh-cn/docs/development/upgrading/490.md @@ -21,7 +21,7 @@ weight: 801 ### 3. 替换 OneAPI(可选) -如果需要使用 AI Proxy 替换 OneAPI 的用户可执行该步骤。 +如果需要使用 [AI Proxy](https://github.com/labring/aiproxy) 替换 OneAPI 的用户可执行该步骤。 #### 1. 修改 yml 文件 @@ -32,7 +32,7 @@ weight: 801 ``` # AI Proxy aiproxy: - image: 'ghcr.io/labring/sealos-aiproxy-service:latest' + image: 'ghcr.io/labring/aiproxy:latest' container_name: aiproxy restart: unless-stopped depends_on: @@ -48,7 +48,7 @@ weight: 801 # 数据库连接地址 - SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy # 最大重试次数 - - RetryTimes=3 + - RETRY_TIMES=3 # 不需要计费 - BILLING_ENABLED=false # 不需要严格检测模型