1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
CONTAINER_NAME="h5ai"
PANEL_APP_PORT_HTTP="40048"
DATA_PATH="./data/share"
CONFIG_PATH="./data/config"
AUTH_ENABLE="true"
USER="h5ai"
PASSWORD="PASSWORD"

47
apps/h5ai/latest/data.yml Normal file
View File

@@ -0,0 +1,47 @@
additionalProperties:
formFields:
- default: 40048
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data/share
edit: true
envKey: DATA_PATH
labelEn: The path to the shared data folder
labelZh: 分享的数据文件夹路径
required: true
type: text
- default: ./data/config
edit: true
envKey: CONFIG_PATH
labelEn: Path to the configuration file
labelZh: 配置文件所在路径
required: true
type: text
- default: "true"
edit: true
envKey: AUTH_ENABLE
labelEn: "Authentication (On: true, Off: false)"
labelZh: 身份验证(开启:true关闭:false)
required: true
type: text
- default: h5ai
envKey: USER
labelEn: User
labelZh: 用户名
random: true
required: false
rule: paramCommon
type: text
- default: h5ai
envKey: PASSWORD
labelEn: Password
labelZh: 用户密码
random: true
required: false
rule: paramComplexity
type: password

View File

@@ -0,0 +1,27 @@
version: '3'
services:
h5ai:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- "${DATA_PATH}:/h5ai"
- "${CONFIG_PATH}:/config"
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- HTPASSWD=${AUTH_ENABLE}
- HTPASSWD_USER=${USER}
- HTPASSWD_PW=${PASSWORD}
tty: true
image: bin20088/h5ai:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true