更新pandora

This commit is contained in:
okxlin 2023-07-09 17:17:14 +08:00
parent 0c2d87b6e1
commit b177e351ac
6 changed files with 38 additions and 2 deletions

View File

@ -2,3 +2,5 @@ CONTAINER_NAME="pandora"
PANEL_APP_PORT_HTTP="40040"
DATA_PATH="./data"
PROXY=""
API_BASE_URL="https://ai.fakeopen.com"
REVERSE_PROXY="https://ai.fakeopen.com"

View File

@ -15,10 +15,24 @@ additionalProperties:
labelZh: 数据文件夹路径
required: true
type: text
- default: ''
- default: ""
edit: true
envKey: PROXY
labelEn: Specify the proxy in the formatprotocol://user:pass@ip:port.
labelZh: 指定代理格式protocol://user:pass@ip:port。
required: false
type: text
- default: https://ai.fakeopen.com
edit: true
envKey: API_BASE_URL
labelEn: OpenAI API interface address
labelZh: OpenAI API接口地址
required: true
type: text
- default: https://ai.fakeopen.com
edit: true
envKey: REVERSE_PROXY
labelEn: ChatGPT API reverse proxy
labelZh: ChatGPT API反向代理
required: true
type: text

View File

@ -29,6 +29,8 @@ services:
# 指定服务启动的线程数,默认为 8Cloud模式为 4。
- PANDORA_THREADS=4
- PANDORA_CLOUD=CLOUD
- OPENAI_API_PREFIX=${API_BASE_URL}
- CHATGPT_API_PREFIX=${REVERSE_PROXY}
#- OPENAI_EMAIL=${OPENAI_ACCOUNT}
#- OPENAI_PASSWORD=${OPENAI_PASSWORD}
#- OPENAI_MFA_CODE=${OPENAI_MFA}

View File

@ -2,3 +2,5 @@ CONTAINER_NAME="pandora"
PANEL_APP_PORT_HTTP="40040"
DATA_PATH="./data"
PROXY=""
API_BASE_URL="https://ai.fakeopen.com"
REVERSE_PROXY="https://ai.fakeopen.com"

View File

@ -15,10 +15,24 @@ additionalProperties:
labelZh: 数据文件夹路径
required: true
type: text
- default: ''
- default: ""
edit: true
envKey: PROXY
labelEn: Specify the proxy in the formatprotocol://user:pass@ip:port.
labelZh: 指定代理格式protocol://user:pass@ip:port。
required: false
type: text
- default: https://ai.fakeopen.com
edit: true
envKey: API_BASE_URL
labelEn: OpenAI API interface address
labelZh: OpenAI API接口地址
required: true
type: text
- default: https://ai.fakeopen.com
edit: true
envKey: REVERSE_PROXY
labelEn: ChatGPT API reverse proxy
labelZh: ChatGPT API反向代理
required: true
type: text

View File

@ -29,6 +29,8 @@ services:
# 指定服务启动的线程数,默认为 8Cloud模式为 4。
- PANDORA_THREADS=4
- PANDORA_CLOUD=CLOUD
- OPENAI_API_PREFIX=${API_BASE_URL}
- CHATGPT_API_PREFIX=${REVERSE_PROXY}
#- OPENAI_EMAIL=${OPENAI_ACCOUNT}
#- OPENAI_PASSWORD=${OPENAI_PASSWORD}
#- OPENAI_MFA_CODE=${OPENAI_MFA}