mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 19:36:14 +08:00
发布应用 迅雷 Nas版
Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
parent
e680614dba
commit
94984ff275
@ -10,6 +10,14 @@ Git 托管、代码审查、团队协作、软件包注册和 CI/CD。它与 Git
|
|||||||
|
|
||||||
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
||||||
|
|
||||||
|
## 安装说明
|
||||||
|
|
||||||
|
> ⚠️ 警告
|
||||||
|
>
|
||||||
|
> 该应用申请使用 `特权模式`, 将允许应用在容器内部执行特权操作,如挂载宿主机目录、访问宿主机设备等。
|
||||||
|
|
||||||
|
这是Gitea Actions的Runner,用于在Gitea Actions中执行任务。
|
||||||
|
|
||||||
## 特性
|
## 特性
|
||||||
|
|
||||||
+ 代码托管
|
+ 代码托管
|
||||||
@ -68,14 +76,6 @@ location / {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 安装说明
|
|
||||||
|
|
||||||
> ⚠️ 警告
|
|
||||||
>
|
|
||||||
> 该应用申请使用 `特权模式`, 将允许应用在容器内部执行特权操作,如挂载宿主机目录、访问宿主机设备等。
|
|
||||||
|
|
||||||
这是Gitea Actions的Runner,用于在Gitea Actions中执行任务。
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
||||||
|
34
apps/xunlei-cnk3x/3.20.2/data.yml
Normal file
34
apps/xunlei-cnk3x/3.20.2/data.yml
Normal 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
|
30
apps/xunlei-cnk3x/3.20.2/docker-compose.yml
Normal file
30
apps/xunlei-cnk3x/3.20.2/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
services:
|
||||||
|
xunlei-cnk3x:
|
||||||
|
image: cnk3x/xunlei:v3.20.2
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:2345
|
||||||
|
env_file:
|
||||||
|
- /etc/1panel/envs/global.env
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${XUNLEI_ROOT_PATH}/data:/xunlei/data
|
||||||
|
- ${XUNLEI_ROOT_PATH}/downloads:/xunlei/downloads
|
||||||
|
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
|
||||||
|
- XL_CHROOT=/
|
15
apps/xunlei-cnk3x/3.20.2/scripts/init.sh
Normal file
15
apps/xunlei-cnk3x/3.20.2/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
10
apps/xunlei-cnk3x/3.20.2/scripts/uninstall.sh
Normal file
10
apps/xunlei-cnk3x/3.20.2/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
15
apps/xunlei-cnk3x/3.20.2/scripts/upgrade.sh
Normal file
15
apps/xunlei-cnk3x/3.20.2/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
23
apps/xunlei-cnk3x/README.md
Normal file
23
apps/xunlei-cnk3x/README.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 迅雷 NAS版
|
||||||
|
|
||||||
|
迅雷远程下载服务 NAS移植版
|
||||||
|
|
||||||
|
![AList](https://file.lifebus.top/imgs/xunlei_cnk3x.png)
|
||||||
|
|
||||||
|
从迅雷群晖套件中提取出来用于其他设备的迅雷远程下载服务程序。
|
||||||
|
|
||||||
|
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
||||||
|
|
||||||
|
## 使用说明
|
||||||
|
|
||||||
|
下载的数据存储在`downloads`目录下,请查看持久化目录的位置。
|
||||||
|
|
||||||
|
## 安装说明
|
||||||
|
|
||||||
|
需要填写的 `用户名` 与 `密码` 并非迅雷账户。
|
||||||
|
|
||||||
|
该账户,仅作为远程下载服务的登录凭证。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
15
apps/xunlei-cnk3x/data.yml
Normal file
15
apps/xunlei-cnk3x/data.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
additionalProperties:
|
||||||
|
key: xunlei-cnk3x
|
||||||
|
name: 迅雷 NAS版
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Tool
|
||||||
|
- Local
|
||||||
|
shortDescZh: 迅雷远程下载服务 NAS移植版
|
||||||
|
shortDescEn: Thunder Remote Download Service NAS Port
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://github.com/cnk3x/xunlei/
|
||||||
|
github: https://github.com/cnk3x/xunlei/
|
||||||
|
document: https://github.com/cnk3x/xunlei/
|
BIN
apps/xunlei-cnk3x/logo.png
Normal file
BIN
apps/xunlei-cnk3x/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
Loading…
Reference in New Issue
Block a user