Update yidadaa/chatgpt-next-web Docker tag to v2.16.1 (#914)
This commit is contained in:
6
apps/chatgpt-next-web/2.16.1/.env.sample
Normal file
6
apps/chatgpt-next-web/2.16.1/.env.sample
Normal file
@@ -0,0 +1,6 @@
|
||||
CONTAINER_NAME="chatgpt-next-web"
|
||||
API_BASE_URL="https://api.openai.com"
|
||||
API_KEY="sk-xxx"
|
||||
PANEL_APP_PORT_HTTP="40042"
|
||||
PROXY=""
|
||||
SECRET_KEY="chatgptnextweb_password"
|
||||
40
apps/chatgpt-next-web/2.16.1/data.yml
Normal file
40
apps/chatgpt-next-web/2.16.1/data.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40042
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "sk-xxx"
|
||||
edit: true
|
||||
envKey: API_KEY
|
||||
labelEn: OPENAI API KEY
|
||||
labelZh: OPENAI API KEY
|
||||
required: true
|
||||
type: text
|
||||
- default: "chatgptnextweb"
|
||||
edit: true
|
||||
envKey: SECRET_KEY
|
||||
labelEn: Access rights key, optional (recommended)
|
||||
labelZh: 访问权限密钥,可选(强烈建议填写)
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PROXY
|
||||
labelEn: Proxy (example:http://127.0.0.1:7890 user password)
|
||||
labelZh: 代理地址(例子:http://127.0.0.1:7890 user password)
|
||||
required: false
|
||||
type: text
|
||||
- default: "https://api.openai.com"
|
||||
edit: true
|
||||
envKey: API_BASE_URL
|
||||
labelEn: API interface address
|
||||
labelZh: API接口地址
|
||||
required: true
|
||||
type: text
|
||||
20
apps/chatgpt-next-web/2.16.1/docker-compose.yml
Normal file
20
apps/chatgpt-next-web/2.16.1/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
chatgpt-next-web:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:3000"
|
||||
environment:
|
||||
- "OPENAI_API_KEY=${API_KEY}"
|
||||
- "CODE=${SECRET_KEY}"
|
||||
- "PROXY_URL=${PROXY}"
|
||||
- "BASE_URL=${API_BASE_URL}"
|
||||
image: yidadaa/chatgpt-next-web:v2.16.1
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user