Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2026-03-03 04:48:20 +00:00
parent 17f2fc3875
commit 747e5fbb63
72 changed files with 313 additions and 12 deletions
+15
View File
@@ -0,0 +1,15 @@
# 数据持久化路径 [必填]
LX_MUSIC_SYNC_ROOT_PATH=/home/lx-music-sync
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=9527
# 服务名称 [必填]
SERVER_NAME=落雪音乐
# 添加歌曲位置 [必填]
LIST_ADD_MUSIC_LOCATION_TYPE=top
# 最大快照数 [必填]
MAX_SNAPSHOT_NUM=3
+43
View File
@@ -0,0 +1,43 @@
additionalProperties:
formFields:
- default: "/home/lx-music-sync"
edit: true
envKey: LX_MUSIC_SYNC_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 9527
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: "落雪音乐"
edit: true
envKey: SERVER_NAME
labelZh: 服务名称
labelEn: Server Name
required: true
type: text
- default: "top"
edit: true
envKey: LIST_ADD_MUSIC_LOCATION_TYPE
labelZh: 添加歌曲位置
labelEn: Add Music Location
required: true
type: select
values:
- label: 顶部
value: "top"
- label: 尾部
value: "bottom"
- default: 3
edit: true
envKey: MAX_SNAPSHOT_NUM
labelZh: 最大快照数
labelEn: Max Snapshot Num
required: true
type: number
@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
lx-music-sync:
container_name: lx-music-sync
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- PORT=9527
- BIND_IP=0.0.0.0
image: lyswhut/lx-music-sync-server:v2.1.2
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:9527
restart: always
volumes:
- ${LX_MUSIC_SYNC_ROOT_PATH}/app:/app
@@ -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