1
0

feat:添加mi-gpt-gui到列表#1836

This commit is contained in:
okxlin
2024-10-13 19:48:25 +08:00
parent a515e82e14
commit 6e589c24a2
9 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
CONTAINER_NAME="mi-gpt-gui"
LOGIN_PASSWORD="password"
LOGIN_USER="admin"
PANEL_APP_PORT_HTTP=40305

View File

@@ -0,0 +1,28 @@
additionalProperties:
formFields:
- default: "40305"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "admin"
edit: true
envKey: LOGIN_USER
labelEn: Username
labelZh: 用户名
random: true
required: true
rule: paramCommon
type: text
- default: "password"
edit: true
envKey: LOGIN_PASSWORD
labelEn: Password
labelZh: 密码
random: true
required: true
rule: paramComplexity
type: password

View File

@@ -0,0 +1,17 @@
services:
mi-gpt-gui:
image: "lmk123/migpt-server:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:36592"
command: --user ${LOGIN_USER} --pwd ${LOGIN_PASSWORD}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true