Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2024-12-04 03:08:24 +00:00
parent c472f6b912
commit e8d6cc738d
1394 changed files with 42558 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# 数据持久化路径 [必填]
XUNLEI_ROOT_PATH=/home/xunlei
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=2345
# Web访问 用户名 [必填]
XL_DASHBOARD_USERNAME=xunlei
# Web访问 密码 [必填]
XL_DASHBOARD_PASSWORD=xunlei-
+34
View File
@@ -0,0 +1,34 @@
additionalProperties:
formFields:
- default: "/home/xunlei"
edit: true
envKey: XUNLEI_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2345
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: "xunlei"
edit: true
envKey: XL_DASHBOARD_USERNAME
labelZh: Web访问 用户名
labelEn: Username
required: true
rule: paramCommon
type: text
- default: "xunlei-"
edit: true
envKey: XL_DASHBOARD_PASSWORD
labelZh: Web访问 密码
labelEn: Password
required: true
rule: paramComplexity
random: true
type: password
@@ -0,0 +1,30 @@
networks:
1panel-network:
external: true
services:
xunlei-cnk3x:
container_name: xunlei-cnk3x
env_file:
- ./envs/global.env
- .env
environment:
- XL_UID=0
- XL_GID=0
- XL_DASHBOARD_PORT=2345
- XL_DASHBOARD_IP=0.0.0.0
- XL_DIR_DOWNLOAD=/xunlei/downloads
- XL_DIR_DATA=/xunlei/data
- XL_PREVENT_UPDATE=true
- XL_DEBUG=false
image: cnk3x/xunlei:v3.20.2
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2345
privileged: true
restart: always
volumes:
- ${XUNLEI_ROOT_PATH}/data:/xunlei/data
- ${XUNLEI_ROOT_PATH}/downloads:/xunlei/downloads
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -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