1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View 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"

View 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 (examplehttp://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

View File

@@ -0,0 +1,21 @@
version: '3'
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:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true