Skip to content

Commit

Permalink
docker-compose同步添加新配置
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf committed Mar 15, 2023
1 parent 4e56dad commit 4ff2f39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
restart: always
environment:
APIKEY: xxxxxx # 你的 api_key
BASE_URL: xxxxxx # 如果你想指定请求url的地址,可通过这个参数进行配置,默认为官方地址,不需要再添加 /v1
MODEL: "gpt-3.5-turbo" # 指定模型
SESSION_TIMEOUT: 600 # 超时时间
HTTP_PROXY: http://host.docker.internal:15777 # 配置代理,注意:host.docker.internal会解析到容器所在的宿主机IP,如果你的服务部署在宿主机,只需要更改端口即可
Expand Down

0 comments on commit 4ff2f39

Please sign in to comment.