精简提交历史记录
This commit is contained in:
5
apps/baidunetdisk/latest/.env.sample
Normal file
5
apps/baidunetdisk/latest/.env.sample
Normal file
@@ -0,0 +1,5 @@
|
||||
CONTAINER_NAME='baidunetdisk'
|
||||
VNC_PASSWORD='VNCPassword'
|
||||
PANEL_APP_PORT_HTTP='40035'
|
||||
CONFIG_PATH='./data/config'
|
||||
DOWNLOAD_PATH='./data/config'
|
||||
33
apps/baidunetdisk/latest/data.yml
Normal file
33
apps/baidunetdisk/latest/data.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40035
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: WebUI Port
|
||||
labelZh: 网页端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: VNCPassword
|
||||
edit: true
|
||||
envKey: VNC_PASSWORD
|
||||
labelEn: Access Password
|
||||
labelZh: 访问密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ./data/config
|
||||
edit: true
|
||||
envKey: CONFIG_PATH
|
||||
labelEn: Config file path
|
||||
labelZh: 配置文件所在路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ./data/downloads
|
||||
edit: true
|
||||
envKey: DOWNLOAD_PATH
|
||||
labelEn: Download folder path
|
||||
labelZh: 下载文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
23
apps/baidunetdisk/latest/docker-compose.yml
Normal file
23
apps/baidunetdisk/latest/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3"
|
||||
services:
|
||||
baidunetdisk:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
USER_ID: "1000"
|
||||
GROUP_ID: "1000"
|
||||
VNC_PASSWORD: "${VNC_PASSWORD}"
|
||||
NOVNC_LANGUAGE: "zh_Hans"
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:5800"
|
||||
volumes:
|
||||
- "${CONFIG_PATH}:/config"
|
||||
- "${DOWNLOAD_PATH}:/config/baidunetdiskdownload"
|
||||
image: johngong/baidunetdisk:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user