mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
chore(deps): update yidadaa/chatgpt-next-web docker tag to v2.15.6 (#2373)
* chore(deps): update yidadaa/chatgpt-next-web docker tag to v2.15.6 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-action update-app-version
parent
d73bc53c83
commit
4d764c03a5
@@ -0,0 +1,47 @@
|
||||
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
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: WHITE_WEBDAV_ENDPOINTS
|
||||
labelEn: White list of webdev endpoints
|
||||
labelZh: webdev 白名单
|
||||
required: false
|
||||
type: text
|
||||
@@ -0,0 +1,21 @@
|
||||
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}"
|
||||
- "WHITE_WEBDAV_ENDPOINTS=${WHITE_WEBDAV_ENDPOINTS}"
|
||||
image: yidadaa/chatgpt-next-web:v2.15.6
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -f ./.env ]]; then
|
||||
if grep -q "WHITE_WEBDEV_ENDPOINTS" ./.env; then
|
||||
echo "WHITE_WEBDEV_ENDPOINTS 已存在"
|
||||
else
|
||||
echo 'WHITE_WEBDEV_ENDPOINTS=""' >> ./.env
|
||||
fi
|
||||
else
|
||||
echo ".env 文件不存在"
|
||||
fi
|
||||
Reference in New Issue
Block a user