mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-02-13 16:50:31 +08:00
完善 Stream-Rec 配置
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
ec4ee256de
commit
4092b45571
@ -23,6 +23,13 @@ additionalProperties:
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "stream-rec"
|
||||
disabled: true
|
||||
envKey: LOGIN_USERNAME
|
||||
labelZh: 默认用户名
|
||||
labelEn: Default Username
|
||||
required: true
|
||||
type: text
|
||||
- default: "stream-rec"
|
||||
edit: false
|
||||
envKey: LOGIN_SECRET
|
||||
@ -30,30 +37,23 @@ additionalProperties:
|
||||
labelEn: Login Password (Initialization)
|
||||
required: true
|
||||
random: true
|
||||
type: text
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: NEXTAUTH_SECRET
|
||||
labelZh: NextAuth 加密密钥
|
||||
labelEn: NextAuth Secret
|
||||
envKey: AUTH_SECRET
|
||||
labelZh: 加密密钥
|
||||
labelEn: Encryption Key
|
||||
required: true
|
||||
random: true
|
||||
type: text
|
||||
- default: "http://localhost:15275/"
|
||||
- default: "http://127.0.0.1:15275"
|
||||
edit: true
|
||||
envKey: NEXTAUTH_URL
|
||||
labelZh: NextAuth 服务器地址
|
||||
labelEn: NextAuth Server URL
|
||||
envKey: NEXT_PUBLIC_BASE_URL
|
||||
labelZh: 访问域名
|
||||
labelEn: Access Domain
|
||||
required: true
|
||||
type: text
|
||||
- default: "http://stream-rec-backend:12555/api"
|
||||
disabled: true
|
||||
envKey: API_URL
|
||||
labelZh: API 地址
|
||||
labelEn: API URL
|
||||
required: true
|
||||
type: text
|
||||
- default: "ws://stream-rec-backend:12555/live/update"
|
||||
- default: "ws://127.0.0.1:12555/live/update"
|
||||
edit: true
|
||||
envKey: WS_API_URL
|
||||
labelZh: WebSocket API 地址
|
||||
|
@ -20,9 +20,13 @@ services:
|
||||
- ${STREAM_REC_ROOT_PATH}/records:/opt/records
|
||||
- ${STREAM_REC_ROOT_PATH}/download:/download
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- HTTPS_PROXY=${HTTP_PROXY}
|
||||
- LOG_LEVEL=INFO
|
||||
- DB_PATH=/opt/records
|
||||
- DOWNLOAD_PATH=/download
|
||||
- PGID=1000
|
||||
- PUID=1000
|
||||
|
||||
stream-rec-frontend:
|
||||
depends_on:
|
||||
@ -39,3 +43,6 @@ services:
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- API_URL=http://stream-rec-backend:12555/api
|
||||
|
@ -39,7 +39,7 @@ Stream-rec 是一个自动录制各种直播平台的工具。
|
||||
|
||||
+ `WebSocket API 地址`
|
||||
|
||||
默认值:`ws://stream-rec-backend:12555/live/update`
|
||||
默认值:`ws://stream-rec-backend:12555/live/update` 或 `ws://127.0.0.1:12555/live/update`
|
||||
|
||||
需要获取:
|
||||
|
||||
@ -48,24 +48,9 @@ Stream-rec 是一个自动录制各种直播平台的工具。
|
||||
|
||||
填写格式:`ws://{宿主机 IP 地址}:{API 端口}/live/update`
|
||||
|
||||
### 可修改配置
|
||||
+ `访问域名`
|
||||
|
||||
+ `NextAuth 服务器地址`
|
||||
|
||||
默认值:`http://localhost:15275/`
|
||||
|
||||
需要获取:
|
||||
|
||||
+ 宿主机 IP 地址
|
||||
+ 配置项 `WebUI 端口`, 默认值:`15275`
|
||||
|
||||
填写格式:`http://{宿主机 IP 地址}:{WebUI 端口}/`
|
||||
|
||||
### 无法修改项目
|
||||
|
||||
+ `API 地址`
|
||||
|
||||
当前部署方式为 前后端合并部署,请勿强制修改参数值。
|
||||
服务跳转地址,用于跳转到 Web 界面
|
||||
|
||||
---
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user