mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
Processed apps directory via GitHub Actions
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=25884
|
||||
|
||||
# 网易云音乐服务器IP
|
||||
NETEASE_SERVER_IP=103.135.240.77
|
||||
|
||||
# 启用音源 [必填]
|
||||
UNBLOCK_SOURCES=kugou bodian migu ytdlp bilibili qq kuwo joox youtube youtubedl bilivideo pyncmd
|
||||
|
||||
# 启用无损音源 [必填]
|
||||
ENABLE_FLAC=true
|
||||
|
||||
# Joox 音源 Cookie
|
||||
JOOX_COOKIE=
|
||||
|
||||
# 咪咕音源 Cookie
|
||||
MIGU_COOKIE=
|
||||
|
||||
# QQ 音源 Cookie
|
||||
QQ_COOKIE=
|
||||
|
||||
# YouTube 音源 API Key
|
||||
YOUTUBE_KEY=
|
||||
|
||||
# 网易云音乐音源 Cookie
|
||||
NETEASE_COOKIE=
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 25884
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "103.135.240.77"
|
||||
edit: true
|
||||
envKey: NETEASE_SERVER_IP
|
||||
labelZh: 网易云音乐服务器IP
|
||||
labelEn: Netease Music Server IP
|
||||
required: false
|
||||
type: text
|
||||
- default: "kugou bodian migu ytdlp bilibili qq kuwo joox youtube youtubedl bilivideo pyncmd"
|
||||
edit: true
|
||||
envKey: UNBLOCK_SOURCES
|
||||
labelZh: 启用音源
|
||||
labelEn: Enable Music Sources
|
||||
required: true
|
||||
type: text
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: ENABLE_FLAC
|
||||
labelZh: 启用无损音源
|
||||
labelEn: Enable FLAC
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 启用
|
||||
value: "true"
|
||||
- label: 禁用
|
||||
value: "false"
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: JOOX_COOKIE
|
||||
labelZh: Joox 音源 Cookie
|
||||
labelEn: Joox Cookie
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: MIGU_COOKIE
|
||||
labelZh: 咪咕音源 Cookie
|
||||
labelEn: Migu Cookie
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: QQ_COOKIE
|
||||
labelZh: QQ 音源 Cookie
|
||||
labelEn: QQ Music Cookie
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: YOUTUBE_KEY
|
||||
labelZh: YouTube 音源 API Key
|
||||
labelEn: YouTube API Key
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: NETEASE_COOKIE
|
||||
labelZh: 网易云音乐音源 Cookie
|
||||
labelEn: Netease Music Cookie
|
||||
required: false
|
||||
type: text
|
||||
@@ -0,0 +1,29 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
splayer:
|
||||
container_name: splayer
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- ENABLE_HTTPDNS=false
|
||||
- BLOCK_ADS=true
|
||||
- DISABLE_UPGRADE_CHECK=false
|
||||
- DEVELOPMENT=false
|
||||
- FOLLOW_SOURCE_ORDER=true
|
||||
- JSON_LOG=false
|
||||
- NO_CACHE=false
|
||||
- SELECT_MAX_BR=true
|
||||
- LOG_LEVEL=info
|
||||
- SEARCH_ALBUM=true
|
||||
image: imsyy/splayer:latest
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:25884
|
||||
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
|
||||
Reference in New Issue
Block a user