From f9cdaef1c48ebbc8656e413229c9c2ca39b2bea3 Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Tue, 2 Apr 2024 16:18:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20qBittorrent=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/docker-qbittorrent/README.md | 30 ------------------ apps/docker-qbittorrent/data.yml | 19 ----------- .../4.6.3/data.yml | 8 ++--- .../4.6.3/docker-compose.yml | 14 +++++--- apps/qbittorrent/README.md | 19 +++++++++++ apps/qbittorrent/data.yml | 19 +++++++++++ .../logo.png | Bin 7 files changed, 51 insertions(+), 58 deletions(-) delete mode 100644 apps/docker-qbittorrent/README.md delete mode 100644 apps/docker-qbittorrent/data.yml rename apps/{docker-qbittorrent => qbittorrent}/4.6.3/data.yml (75%) rename apps/{docker-qbittorrent => qbittorrent}/4.6.3/docker-compose.yml (77%) create mode 100644 apps/qbittorrent/README.md create mode 100644 apps/qbittorrent/data.yml rename apps/{docker-qbittorrent => qbittorrent}/logo.png (100%) diff --git a/apps/docker-qbittorrent/README.md b/apps/docker-qbittorrent/README.md deleted file mode 100644 index 530447908..000000000 --- a/apps/docker-qbittorrent/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# docker-qbittorrent - -docker 版本的种子下载工具 qbittorrent - -## 应用初始化: - -WebUI 位于 `:` ,初始用户 `admin` 的临时密码将在启动时打印到容器日志中。 - -然后,您必须在设置的 Web UI 部分更改用户名/密码。如果不更改密码,每次启动容器时都会生成一个新密码。 - -如果您运行的是非常旧的(3.x)内核,可能会遇到[这个问题](https://github.com/linuxserver/docker-qbittorrent/issues/103),可以用[这个方法](https://github.com/linuxserver/docker-qbittorrent/issues/103#issuecomment-831238484)解决。 - -## [LinuxServer.io](https://linuxserver.io/) - -LinuxServer.io团队为您带来了另一个以容器为特色的版本: - -- 定期及时更新应用程序 -- 方便用户映射(PGID、PUID) -- 带有 S6 叠加功能的自定义基本映像 -- 每周更新基础操作系统,在整个 LinuxServer.io 生态系统中使用通用层,最大限度地减少空间使用、停机时间和带宽 -- 定期安全更新 - -Find us at: 找到我们 - -- [Blog](https://blog.linuxserver.io/) - 您可以用我们的容器做的所有事情,包括操作指南、意见等! -- [Discord](https://discord.gg/YWrKVTn) - 与社区和团队进行实时支持/聊天。 -- [Discourse](https://discourse.linuxserver.io/) - 在我们的社区论坛上发帖。 -- [Fleet](https://fleet.linuxserver.io/) - 在线网络界面,显示我们维护的所有映像。 -- [GitHub](https://github.com/linuxserver) - 查看我们所有资源库的源代码。 -- [Open Collective](https://opencollective.com/linuxserver) - 请考虑通过捐赠或为我们的预算捐款来帮助我们 \ No newline at end of file diff --git a/apps/docker-qbittorrent/data.yml b/apps/docker-qbittorrent/data.yml deleted file mode 100644 index f9ecc024a..000000000 --- a/apps/docker-qbittorrent/data.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: docker-qbittorrent -tags: - - 实用工具 -title: docker 版本的种子下载工具 qbittorrent -description: docker 版本的种子下载工具 qbittorrent -additionalProperties: - key: docker-qbittorrent - name: docker-qbittorrent - tags: - - Tool - shortDescZh: docker 版本的种子下载工具 qbittorrent - shortDescEn: The docker version of the seed download tool qbittorrent - type: tool - crossVersionUpdate: true - limit: 0 - recommend: 0 - website: https://github.com/linuxserver/docker-qbittorrent - github: https://github.com/linuxserver/docker-qbittorrent - document: https://github.com/linuxserver/docker-qbittorrent diff --git a/apps/docker-qbittorrent/4.6.3/data.yml b/apps/qbittorrent/4.6.3/data.yml similarity index 75% rename from apps/docker-qbittorrent/4.6.3/data.yml rename to apps/qbittorrent/4.6.3/data.yml index 3ae187a3c..8c58027b2 100644 --- a/apps/docker-qbittorrent/4.6.3/data.yml +++ b/apps/qbittorrent/4.6.3/data.yml @@ -15,10 +15,10 @@ additionalProperties: labelZh: 做种端口 required: true type: number - - default: /media + - default: Asia/Shanghai edit: true - envKey: PATH_TO_DOWNLOADS - labelEn: Mounting a local folder into the container - labelZh: 下载文件夹路径 + envKey: TIME_ZONE + labelEn: Time zone + labelZh: 时区 required: true type: text \ No newline at end of file diff --git a/apps/docker-qbittorrent/4.6.3/docker-compose.yml b/apps/qbittorrent/4.6.3/docker-compose.yml similarity index 77% rename from apps/docker-qbittorrent/4.6.3/docker-compose.yml rename to apps/qbittorrent/4.6.3/docker-compose.yml index 569d2b60e..9ea216ffa 100644 --- a/apps/docker-qbittorrent/4.6.3/docker-compose.yml +++ b/apps/qbittorrent/4.6.3/docker-compose.yml @@ -1,14 +1,16 @@ version: '3' services: qbittorrent: + image: linuxserver/qbittorrent:4.6.3 container_name: ${CONTAINER_NAME} restart: always - network_mode: host + networks: + - 1panel-network environment: - PUID=1000 - PGID=1000 - - TZ=Asia/Shanghai - UMASK_SET=022 + - TZ=${TIME_ZONE} - WEBUI_PORT=${PANEL_APP_PORT_HTTP} - TORRENTING_PORT=${PANEL_TORRENTING_PORT} ports: @@ -16,8 +18,10 @@ services: - ${PANEL_TORRENTING_PORT}:${PANEL_TORRENTING_PORT}/udp - ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP} volumes: - - ./data/config:/config - - ${PATH_TO_DOWNLOADS}:/downloads - image: linuxserver/qbittorrent:4.6.3 + - ./config:/config + - ./data:/downloads labels: createdBy: "Apps" +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/qbittorrent/README.md b/apps/qbittorrent/README.md new file mode 100644 index 000000000..b9e74da54 --- /dev/null +++ b/apps/qbittorrent/README.md @@ -0,0 +1,19 @@ +# 应用初始化: + +- 数据目录:`./data` +- 默认账号:`admin` +- 密码:`临时密码打印到容器日志中` + +> 注意:您必须在设置的 Web UI 部分更改用户名/密码。如果不更改密码,每次启动容器时都会生成一个新密码。 + +# qBittorrent + +**qBittorrent** 是一款免费开源的 BitTorrent 客户端程序,用于下载和分享文件通过 BitTorrent 协议。它提供了一个直观的用户界面,支持多平台,包括 Windows、macOS、Linux、FreeBSD 等操作系统。 + +### 主要特点: + +- **轻量级**: qBittorrent 软件体积小,资源消耗低,运行稳定。 +- **多平台支持**: 用户可以在多个操作系统上使用 qBittorrent,满足不同用户的需求。 +- **功能丰富**: 支持搜索、RSS 订阅、IP 过滤、加密传输等功能,满足用户的多样化需求。 +- **用户友好**: 提供直观的用户界面,使用户能够轻松管理和控制下载任务。 +- **免费开源**: qBittorrent 是免费开源软件,用户可以自由地使用、修改和分发。 \ No newline at end of file diff --git a/apps/qbittorrent/data.yml b/apps/qbittorrent/data.yml new file mode 100644 index 000000000..9d64ae5b0 --- /dev/null +++ b/apps/qbittorrent/data.yml @@ -0,0 +1,19 @@ +name: qBittorrent +tags: + - 实用工具 +title: 跨平台的开源 BitTorrent 客户端 +description: 跨平台的开源 BitTorrent 客户端 +additionalProperties: + key: qbittorrent + name: qBittorrent + tags: + - Tool + shortDescZh: 跨平台的开源 BitTorrent 客户端 + shortDescEn: Cross-platform open source BitTorrent client + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://www.qbittorrent.org/ + github: https://github.com/qbittorrent/qBittorrent + document: http://wiki.qbittorrent.org/ diff --git a/apps/docker-qbittorrent/logo.png b/apps/qbittorrent/logo.png similarity index 100% rename from apps/docker-qbittorrent/logo.png rename to apps/qbittorrent/logo.png