mirror of
https://github.com/okxlin/appstore.git
synced 2026-03-03 07:18:04 +08:00
feat:更新go-chatgpt-api
This commit is contained in:
parent
84aea34ae1
commit
0c2d87b6e1
@ -1,2 +1,6 @@
|
||||
CONTAINER_NAME="go-chatgpt-api"
|
||||
PANEL_APP_PORT_HTTP="40041"
|
||||
API_PANDORA="1"
|
||||
ARKOSE_TOKEN_URL=""
|
||||
OPENAI_EMAIL=""
|
||||
OPENAI_PASSWORD=""
|
||||
|
||||
@ -8,4 +8,31 @@ additionalProperties:
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
- default: "1"
|
||||
edit: true
|
||||
envKey: API_PANDORA
|
||||
labelEn: Pandora API mode
|
||||
labelZh: 潘多拉API模式
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ARKOSE_TOKEN_URL
|
||||
labelEn: ARKOSE Token URL
|
||||
labelZh: ARKOSE_TOKEN 链接
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: OPENAI_EMAIL
|
||||
labelEn: OpenAI account email
|
||||
labelZh: OpenAI账户邮箱
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: OPENAI_PASSWORD
|
||||
labelEn: OpenAI account password
|
||||
labelZh: OpenAI账户密码
|
||||
required: false
|
||||
type: text
|
||||
@ -9,6 +9,10 @@ services:
|
||||
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||
environment:
|
||||
- GO_CHATGPT_API_PROXY=socks5://chatgpt-proxy-server-warp:65535
|
||||
- GO_CHATGPT_API_PANDORA=${API_PANDORA}
|
||||
- GO_CHATGPT_API_ARKOSE_TOKEN_URL=${ARKOSE_TOKEN_URL}
|
||||
- GO_CHATGPT_API_OPENAI_EMAIL=${OPENAI_EMAIL}
|
||||
- GO_CHATGPT_API_OPENAI_PASSWORD=${OPENAI_PASSWORD}
|
||||
image: linweiyuan/go-chatgpt-api:latest
|
||||
depends_on:
|
||||
- chatgpt-proxy-server-warp
|
||||
|
||||
Loading…
Reference in New Issue
Block a user