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