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 00000000..6b5b2455 Binary files /dev/null and b/apps/xunlei-cnk3x/logo.png differ