From 998d7c988d59b9b025176ce0604d955f49fde5aa Mon Sep 17 00:00:00 2001 From: QYG2297248353 Date: Thu, 6 Feb 2025 06:27:32 +0000 Subject: [PATCH] Processed apps directory via GitHub Actions --- appstore/stream-rec/0.7.2/.env | 16 +++++----- appstore/stream-rec/0.7.2/data.yml | 32 ++++++++++---------- appstore/stream-rec/0.7.2/docker-compose.yml | 7 +++++ appstore/stream-rec/README.md | 21 ++----------- dockge/stream-rec/.env | 16 +++++----- dockge/stream-rec/docker-compose.yml | 7 +++++ 6 files changed, 49 insertions(+), 50 deletions(-) diff --git a/appstore/stream-rec/0.7.2/.env b/appstore/stream-rec/0.7.2/.env index 0a67f96c..2b1c26e4 100644 --- a/appstore/stream-rec/0.7.2/.env +++ b/appstore/stream-rec/0.7.2/.env @@ -7,20 +7,20 @@ PANEL_APP_PORT_HTTP=15275 # API 端口 [必填] PANEL_APP_PORT_API=12555 +# 默认用户名 [必填] +LOGIN_USERNAME=stream-rec + # 登录密码 (初始化) [必填] LOGIN_SECRET=stream-rec -# NextAuth 加密密钥 [必填] -NEXTAUTH_SECRET= +# 加密密钥 [必填] +AUTH_SECRET= -# NextAuth 服务器地址 [必填] -NEXTAUTH_URL=http://localhost:15275/ - -# API 地址 [必填] -API_URL=http://stream-rec-backend:12555/api +# 访问域名 [必填] +NEXT_PUBLIC_BASE_URL=http://127.0.0.1:15275 # WebSocket API 地址 [必填] -WS_API_URL=ws://stream-rec-backend:12555/live/update +WS_API_URL=ws://127.0.0.1:12555/live/update # 网络代理 HTTP_PROXY= diff --git a/appstore/stream-rec/0.7.2/data.yml b/appstore/stream-rec/0.7.2/data.yml index 18ef3bb3..44a51650 100644 --- a/appstore/stream-rec/0.7.2/data.yml +++ b/appstore/stream-rec/0.7.2/data.yml @@ -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 地址 diff --git a/appstore/stream-rec/0.7.2/docker-compose.yml b/appstore/stream-rec/0.7.2/docker-compose.yml index 44a2db86..37ce2ab4 100644 --- a/appstore/stream-rec/0.7.2/docker-compose.yml +++ b/appstore/stream-rec/0.7.2/docker-compose.yml @@ -8,9 +8,13 @@ services: - ./envs/global.env - .env environment: + - TZ=Asia/Shanghai + - HTTPS_PROXY=${HTTP_PROXY} - LOG_LEVEL=INFO - DB_PATH=/opt/records - DOWNLOAD_PATH=/download + - PGID=1000 + - PUID=1000 image: streamrec/stream-rec:v0.7.2 labels: createdBy: Apps @@ -29,6 +33,9 @@ services: env_file: - ./envs/global.env - .env + environment: + - TZ=Asia/Shanghai + - API_URL=http://stream-rec-backend:12555/api image: streamrec/stream-rec-front:v0.7.2 labels: createdBy: Apps diff --git a/appstore/stream-rec/README.md b/appstore/stream-rec/README.md index fdee4b89..5f1c88ee 100644 --- a/appstore/stream-rec/README.md +++ b/appstore/stream-rec/README.md @@ -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 界面 --- diff --git a/dockge/stream-rec/.env b/dockge/stream-rec/.env index 0a67f96c..2b1c26e4 100644 --- a/dockge/stream-rec/.env +++ b/dockge/stream-rec/.env @@ -7,20 +7,20 @@ PANEL_APP_PORT_HTTP=15275 # API 端口 [必填] PANEL_APP_PORT_API=12555 +# 默认用户名 [必填] +LOGIN_USERNAME=stream-rec + # 登录密码 (初始化) [必填] LOGIN_SECRET=stream-rec -# NextAuth 加密密钥 [必填] -NEXTAUTH_SECRET= +# 加密密钥 [必填] +AUTH_SECRET= -# NextAuth 服务器地址 [必填] -NEXTAUTH_URL=http://localhost:15275/ - -# API 地址 [必填] -API_URL=http://stream-rec-backend:12555/api +# 访问域名 [必填] +NEXT_PUBLIC_BASE_URL=http://127.0.0.1:15275 # WebSocket API 地址 [必填] -WS_API_URL=ws://stream-rec-backend:12555/live/update +WS_API_URL=ws://127.0.0.1:12555/live/update # 网络代理 HTTP_PROXY= diff --git a/dockge/stream-rec/docker-compose.yml b/dockge/stream-rec/docker-compose.yml index 44a2db86..37ce2ab4 100644 --- a/dockge/stream-rec/docker-compose.yml +++ b/dockge/stream-rec/docker-compose.yml @@ -8,9 +8,13 @@ services: - ./envs/global.env - .env environment: + - TZ=Asia/Shanghai + - HTTPS_PROXY=${HTTP_PROXY} - LOG_LEVEL=INFO - DB_PATH=/opt/records - DOWNLOAD_PATH=/download + - PGID=1000 + - PUID=1000 image: streamrec/stream-rec:v0.7.2 labels: createdBy: Apps @@ -29,6 +33,9 @@ services: env_file: - ./envs/global.env - .env + environment: + - TZ=Asia/Shanghai + - API_URL=http://stream-rec-backend:12555/api image: streamrec/stream-rec-front:v0.7.2 labels: createdBy: Apps