精简提交历史记录
This commit is contained in:
8
apps/115pc/latest/.env.sample
Normal file
8
apps/115pc/latest/.env.sample
Normal file
@@ -0,0 +1,8 @@
|
||||
CONTAINER_NAME="115pc"
|
||||
APT_SOURCE="mirrors.ustc.edu.cn"
|
||||
CONFIG_PATH="./data/config"
|
||||
DOWNLOAD_PATH="./data/downloads"
|
||||
PANEL_APP_PORT_HTTP="40088"
|
||||
VNC_DISPLAY_HEIGHT="1080"
|
||||
VNC_DISPLAY_WIDTH="1920"
|
||||
VNC_PASSWORD="VNCPassword"
|
||||
54
apps/115pc/latest/data.yml
Normal file
54
apps/115pc/latest/data.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40088
|
||||
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: false
|
||||
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
|
||||
- default: mirrors.ustc.edu.cn
|
||||
edit: true
|
||||
envKey: APT_SOURCE
|
||||
labelEn: apt source
|
||||
labelZh: apt 源
|
||||
required: true
|
||||
type: text
|
||||
- default: 1920
|
||||
edit: true
|
||||
envKey: VNC_DISPLAY_WIDTH
|
||||
labelEn: VNC display width
|
||||
labelZh: VNC显示宽度
|
||||
required: true
|
||||
type: number
|
||||
- default: 1080
|
||||
edit: true
|
||||
envKey: VNC_DISPLAY_HEIGHT
|
||||
labelEn: VNC display height
|
||||
labelZh: VNC显示高度
|
||||
required: true
|
||||
type: number
|
||||
26
apps/115pc/latest/docker-compose.yml
Normal file
26
apps/115pc/latest/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: "3"
|
||||
services:
|
||||
115pc:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
environment:
|
||||
- "TZ=Asia/Shanghai"
|
||||
- "VNC_PASSWORD=${VNC_PASSWORD}"
|
||||
- "DISPLAY_WIDTH=${VNC_DISPLAY_WIDTH}"
|
||||
- "DISPLAY_HEIGHT=${VNC_DISPLAY_HEIGHT}"
|
||||
- "ENABLE_CJK_FONT=1"
|
||||
- "APT_SOURCE_HOST=${APT_SOURCE}"
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:5800"
|
||||
volumes:
|
||||
- "${CONFIG_PATH}:/config"
|
||||
- "${DOWNLOAD_PATH}:/Downloads/115download"
|
||||
image: funcman/115pc:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user