feat:添加laftools到列表#2006
This commit is contained in:
5
apps/laftools/latest/.env.sample
Normal file
5
apps/laftools/latest/.env.sample
Normal file
@@ -0,0 +1,5 @@
|
||||
APP_LANG="zh_CN"
|
||||
CONTAINER_NAME="laftools"
|
||||
DATA_PATH="./data"
|
||||
LAF_REGION="CN"
|
||||
PANEL_APP_PORT_HTTP=40306
|
||||
31
apps/laftools/latest/data.yml
Normal file
31
apps/laftools/latest/data.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40306"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "CN"
|
||||
edit: true
|
||||
envKey: LAF_REGION
|
||||
labelEn: LAF Region
|
||||
labelZh: 地区
|
||||
required: true
|
||||
type: text
|
||||
- default: "zh_CN"
|
||||
edit: true
|
||||
envKey: APP_LANG
|
||||
labelEn: App Language
|
||||
labelZh: 应用语言
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data"
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据路径
|
||||
required: true
|
||||
type: text
|
||||
20
apps/laftools/latest/docker-compose.yml
Normal file
20
apps/laftools/latest/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
laftools:
|
||||
image: "codegentoolbox/laftools-linux-x64:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:39899"
|
||||
environment:
|
||||
- LAFREGION=${LAF_REGION}
|
||||
- APPLANG=${APP_LANG}
|
||||
volumes:
|
||||
- ${DATA_PATH}:/root/.miaoda
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user