精简提交历史记录
This commit is contained in:
7
apps/h5ai/latest/.env.sample
Normal file
7
apps/h5ai/latest/.env.sample
Normal 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
47
apps/h5ai/latest/data.yml
Normal 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
|
||||
27
apps/h5ai/latest/docker-compose.yml
Normal file
27
apps/h5ai/latest/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user