feat:添加mi-gpt-gui到列表#1836
This commit is contained in:
4
apps/mi-gpt-gui/latest/.env.sample
Normal file
4
apps/mi-gpt-gui/latest/.env.sample
Normal file
@@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="mi-gpt-gui"
|
||||
LOGIN_PASSWORD="password"
|
||||
LOGIN_USER="admin"
|
||||
PANEL_APP_PORT_HTTP=40305
|
||||
28
apps/mi-gpt-gui/latest/data.yml
Normal file
28
apps/mi-gpt-gui/latest/data.yml
Normal 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
|
||||
17
apps/mi-gpt-gui/latest/docker-compose.yml
Normal file
17
apps/mi-gpt-gui/latest/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user