From 94984ff27597138e769a96a95494d155d1118335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Mon, 23 Sep 2024 12:05:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=BA=94=E7=94=A8=20?= =?UTF-8?q?=E8=BF=85=E9=9B=B7=20Nas=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- apps/gitea-runner/README.md | 16 ++++----- apps/xunlei-cnk3x/3.20.2/data.yml | 34 ++++++++++++++++++ apps/xunlei-cnk3x/3.20.2/docker-compose.yml | 30 ++++++++++++++++ apps/xunlei-cnk3x/3.20.2/scripts/init.sh | 15 ++++++++ apps/xunlei-cnk3x/3.20.2/scripts/uninstall.sh | 10 ++++++ apps/xunlei-cnk3x/3.20.2/scripts/upgrade.sh | 15 ++++++++ apps/xunlei-cnk3x/README.md | 23 ++++++++++++ apps/xunlei-cnk3x/data.yml | 15 ++++++++ apps/xunlei-cnk3x/logo.png | Bin 0 -> 3876 bytes 9 files changed, 150 insertions(+), 8 deletions(-) create mode 100644 apps/xunlei-cnk3x/3.20.2/data.yml create mode 100644 apps/xunlei-cnk3x/3.20.2/docker-compose.yml create mode 100644 apps/xunlei-cnk3x/3.20.2/scripts/init.sh create mode 100644 apps/xunlei-cnk3x/3.20.2/scripts/uninstall.sh create mode 100644 apps/xunlei-cnk3x/3.20.2/scripts/upgrade.sh create mode 100644 apps/xunlei-cnk3x/README.md create mode 100644 apps/xunlei-cnk3x/data.yml create mode 100644 apps/xunlei-cnk3x/logo.png diff --git a/apps/gitea-runner/README.md b/apps/gitea-runner/README.md index e963831f..d4dc9353 100644 --- a/apps/gitea-runner/README.md +++ b/apps/gitea-runner/README.md @@ -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) +## 安装说明 + +> ⚠️ 警告 +> +> 该应用申请使用 `特权模式`, 将允许应用在容器内部执行特权操作,如挂载宿主机目录、访问宿主机设备等。 + +这是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) diff --git a/apps/xunlei-cnk3x/3.20.2/data.yml b/apps/xunlei-cnk3x/3.20.2/data.yml new file mode 100644 index 00000000..2395df4c --- /dev/null +++ b/apps/xunlei-cnk3x/3.20.2/data.yml @@ -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 diff --git a/apps/xunlei-cnk3x/3.20.2/docker-compose.yml b/apps/xunlei-cnk3x/3.20.2/docker-compose.yml new file mode 100644 index 00000000..a0ddea30 --- /dev/null +++ b/apps/xunlei-cnk3x/3.20.2/docker-compose.yml @@ -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=/ diff --git a/apps/xunlei-cnk3x/3.20.2/scripts/init.sh b/apps/xunlei-cnk3x/3.20.2/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/xunlei-cnk3x/3.20.2/scripts/init.sh @@ -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 diff --git a/apps/xunlei-cnk3x/3.20.2/scripts/uninstall.sh b/apps/xunlei-cnk3x/3.20.2/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/xunlei-cnk3x/3.20.2/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/xunlei-cnk3x/3.20.2/scripts/upgrade.sh b/apps/xunlei-cnk3x/3.20.2/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/xunlei-cnk3x/3.20.2/scripts/upgrade.sh @@ -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 diff --git a/apps/xunlei-cnk3x/README.md b/apps/xunlei-cnk3x/README.md new file mode 100644 index 00000000..e1e7b39c --- /dev/null +++ b/apps/xunlei-cnk3x/README.md @@ -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) diff --git a/apps/xunlei-cnk3x/data.yml b/apps/xunlei-cnk3x/data.yml new file mode 100644 index 00000000..e30ad97d --- /dev/null +++ b/apps/xunlei-cnk3x/data.yml @@ -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/ diff --git a/apps/xunlei-cnk3x/logo.png b/apps/xunlei-cnk3x/logo.png new file mode 100644 index 0000000000000000000000000000000000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