Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2024-11-28 09:03:16 +00:00
parent cf0ad6f3aa
commit ae306323d9
1857 changed files with 56700 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# 数据持久化路径 [必填]
STREAM_REC_ROOT_PATH=/home/stream-rec
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=15275
# NextAuth 加密密钥 [必填]
NEXTAUTH_SECRET=
# API 地址 [必填]
API_URL=http://stream-rec-backend:12555/api
# WebSocket API 地址 [必填]
WS_API_URL=ws://stream-rec-backend:12555/live/update
# NextAuth 服务器地址 [必填]
NEXTAUTH_URL=http://localhost:15275/
@@ -0,0 +1,46 @@
additionalProperties:
formFields:
- default: "/home/stream-rec"
edit: true
envKey: STREAM_REC_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 15275
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: NEXTAUTH_SECRET
labelZh: NextAuth 加密密钥
labelEn: NextAuth Secret
required: true
random: true
type: text
- default: "http://stream-rec-backend:12555/api"
edit: true
envKey: API_URL
labelZh: API 地址
labelEn: API URL
required: true
type: text
- default: "ws://stream-rec-backend:12555/live/update"
edit: true
envKey: WS_API_URL
labelZh: WebSocket API 地址
labelEn: WebSocket API URL
required: true
type: text
- default: "http://localhost:15275/"
edit: true
envKey: NEXTAUTH_URL
labelZh: NextAuth 服务器地址
labelEn: NextAuth Server URL
required: true
type: text
@@ -0,0 +1,17 @@
networks:
1panel-network:
external: true
services:
stream-rec-frontend:
container_name: stream-rec-frontend
env_file:
- ./envs/global.env
- .env
image: streamrec/stream-rec-front:v0.7.2
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:15275
restart: always
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi