1
0

feat:添加laftools到列表#2006

This commit is contained in:
okxlin
2024-10-13 20:21:35 +08:00
parent f51355468a
commit d7cc3e2a4e
9 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
APP_LANG="zh_CN"
CONTAINER_NAME="laftools"
DATA_PATH="./data"
LAF_REGION="CN"
PANEL_APP_PORT_HTTP=40306

View 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

View 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