parent
bf69aa6e3d
commit
139e934345
@ -175,7 +175,7 @@ services:
|
|||||||
|
|
||||||
# AI Proxy
|
# AI Proxy
|
||||||
aiproxy:
|
aiproxy:
|
||||||
image: 'ghcr.io/labring/sealos-aiproxy-service:latest'
|
image: 'ghcr.io/labring/aiproxy:latest'
|
||||||
container_name: aiproxy
|
container_name: aiproxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -191,7 +191,7 @@ services:
|
|||||||
# 数据库连接地址
|
# 数据库连接地址
|
||||||
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
||||||
# 最大重试次数
|
# 最大重试次数
|
||||||
- RetryTimes=3
|
- RETRY_TIMES=3
|
||||||
# 不需要计费
|
# 不需要计费
|
||||||
- BILLING_ENABLED=false
|
- BILLING_ENABLED=false
|
||||||
# 不需要严格检测模型
|
# 不需要严格检测模型
|
||||||
|
|||||||
@ -132,7 +132,7 @@ services:
|
|||||||
|
|
||||||
# AI Proxy
|
# AI Proxy
|
||||||
aiproxy:
|
aiproxy:
|
||||||
image: 'ghcr.io/labring/sealos-aiproxy-service:latest'
|
image: 'ghcr.io/labring/aiproxy:latest'
|
||||||
container_name: aiproxy
|
container_name: aiproxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -148,7 +148,7 @@ services:
|
|||||||
# 数据库连接地址
|
# 数据库连接地址
|
||||||
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
||||||
# 最大重试次数
|
# 最大重试次数
|
||||||
- RetryTimes=3
|
- RETRY_TIMES=3
|
||||||
# 不需要计费
|
# 不需要计费
|
||||||
- BILLING_ENABLED=false
|
- BILLING_ENABLED=false
|
||||||
# 不需要严格检测模型
|
# 不需要严格检测模型
|
||||||
|
|||||||
@ -113,7 +113,7 @@ services:
|
|||||||
|
|
||||||
# AI Proxy
|
# AI Proxy
|
||||||
aiproxy:
|
aiproxy:
|
||||||
image: 'ghcr.io/labring/sealos-aiproxy-service:latest'
|
image: 'ghcr.io/labring/aiproxy:latest'
|
||||||
container_name: aiproxy
|
container_name: aiproxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -129,7 +129,7 @@ services:
|
|||||||
# 数据库连接地址
|
# 数据库连接地址
|
||||||
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
||||||
# 最大重试次数
|
# 最大重试次数
|
||||||
- RetryTimes=3
|
- RETRY_TIMES=3
|
||||||
# 不需要计费
|
# 不需要计费
|
||||||
- BILLING_ENABLED=false
|
- BILLING_ENABLED=false
|
||||||
# 不需要严格检测模型
|
# 不需要严格检测模型
|
||||||
|
|||||||
@ -21,7 +21,7 @@ weight: 801
|
|||||||
|
|
||||||
### 3. 替换 OneAPI(可选)
|
### 3. 替换 OneAPI(可选)
|
||||||
|
|
||||||
如果需要使用 AI Proxy 替换 OneAPI 的用户可执行该步骤。
|
如果需要使用 [AI Proxy](https://github.com/labring/aiproxy) 替换 OneAPI 的用户可执行该步骤。
|
||||||
|
|
||||||
#### 1. 修改 yml 文件
|
#### 1. 修改 yml 文件
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ weight: 801
|
|||||||
```
|
```
|
||||||
# AI Proxy
|
# AI Proxy
|
||||||
aiproxy:
|
aiproxy:
|
||||||
image: 'ghcr.io/labring/sealos-aiproxy-service:latest'
|
image: 'ghcr.io/labring/aiproxy:latest'
|
||||||
container_name: aiproxy
|
container_name: aiproxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -48,7 +48,7 @@ weight: 801
|
|||||||
# 数据库连接地址
|
# 数据库连接地址
|
||||||
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
- SQL_DSN=postgres://postgres:aiproxy@aiproxy_pg:5432/aiproxy
|
||||||
# 最大重试次数
|
# 最大重试次数
|
||||||
- RetryTimes=3
|
- RETRY_TIMES=3
|
||||||
# 不需要计费
|
# 不需要计费
|
||||||
- BILLING_ENABLED=false
|
- BILLING_ENABLED=false
|
||||||
# 不需要严格检测模型
|
# 不需要严格检测模型
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user