mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
Update bililive-recorder to v2.17.0
This commit is contained in:
parent
45ed828215
commit
c8e667e49d
8
apps/bililive-recorder/2.17.0/.env.sample
Normal file
8
apps/bililive-recorder/2.17.0/.env.sample
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
CONTAINER_NAME="bililive-recorder"
|
||||||
|
PANEL_APP_PORT_HTTP=40278
|
||||||
|
PGID=1000
|
||||||
|
PUID=1000
|
||||||
|
UMASK=22
|
||||||
|
USER_NAME="admin"
|
||||||
|
USER_PASSWORD="admin"
|
||||||
|
WORK_SPACE_PATH="./data"
|
54
apps/bililive-recorder/2.17.0/data.yml
Normal file
54
apps/bililive-recorder/2.17.0/data.yml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "40278"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: admin
|
||||||
|
edit: true
|
||||||
|
envKey: USER_NAME
|
||||||
|
labelEn: WebUI Username
|
||||||
|
labelZh: WebUI 的用户名
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: admin
|
||||||
|
edit: true
|
||||||
|
envKey: USER_PASSWORD
|
||||||
|
labelEn: WebUI access password
|
||||||
|
labelZh: WebUI 的访问密码
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- default: "./data"
|
||||||
|
edit: true
|
||||||
|
envKey: WORK_SPACE_PATH
|
||||||
|
labelEn: work space path (Pay attention to folder permissions)
|
||||||
|
labelZh: 工作目录路径 (注意文件夹权限)
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "022"
|
||||||
|
edit: true
|
||||||
|
envKey: UMASK
|
||||||
|
labelEn: UMASK
|
||||||
|
labelZh: 文件权限掩码
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "1000"
|
||||||
|
edit: true
|
||||||
|
envKey: PUID
|
||||||
|
labelEn: User ID
|
||||||
|
labelZh: 用户 ID
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
- default: "1000"
|
||||||
|
edit: true
|
||||||
|
envKey: PGID
|
||||||
|
labelEn: Group ID
|
||||||
|
labelZh: 用户组 ID
|
||||||
|
required: true
|
||||||
|
type: number
|
0
apps/bililive-recorder/2.17.0/data/.gitkeep
Normal file
0
apps/bililive-recorder/2.17.0/data/.gitkeep
Normal file
23
apps/bililive-recorder/2.17.0/docker-compose.yml
Normal file
23
apps/bililive-recorder/2.17.0/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
recorder:
|
||||||
|
image: "bililive/recorder:2.17.0"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
volumes:
|
||||||
|
- "${WORK_SPACE_PATH}:/rec"
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:2356"
|
||||||
|
environment:
|
||||||
|
- BREC_HTTP_BASIC_USER=${USER_NAME}
|
||||||
|
- BREC_HTTP_BASIC_PASS=${USER_PASSWORD}
|
||||||
|
- UMASK=${UMASK}
|
||||||
|
- PUID=${PUID}
|
||||||
|
- PGID=${PGID}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
3
apps/bililive-recorder/2.17.0/scripts/init.sh
Normal file
3
apps/bililive-recorder/2.17.0/scripts/init.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chown -R 1000:1000 data
|
Loading…
Reference in New Issue
Block a user