diff --git a/apps/jproxy/3.4.4/data.yml b/apps/jproxy/3.4.4/data.yml new file mode 100644 index 00000000..e708d6de --- /dev/null +++ b/apps/jproxy/3.4.4/data.yml @@ -0,0 +1,70 @@ +additionalProperties: + formFields: + - default: "/home/jproxy" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8117 + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: "-Xms512m -Xmx512m" + edit: true + envKey: JAVA_OPTS + labelZh: 运行参数 + labelEn: Run parameters + required: true + type: text + - default: 4320 + edit: true + envKey: CACHE_EXPIRES + labelZh: 缓存过期时间 (分钟) + labelEn: Cache expiration time (minutes) + required: true + type: number + - default: 10080 + edit: true + envKey: TOKEN_EXPIRES + labelZh: 登录过期时间 (分钟) + labelEn: Login expiration time (minutes) + required: true + type: number + - default: 3 + edit: true + envKey: SYNC_INTERVAL + labelZh: 同步间隔 (分钟) + labelEn: Synchronization interval (minutes) + required: true + type: number + - default: "true" + edit: true + envKey: RENAME_FILE + labelZh: 允许文件重命名 + labelEn: Allow file renaming + required: true + type: select + values: + - label: 允许 + value: "true" + - label: 禁止 + value: "false" + - default: 6 + edit: true + envKey: MIN_COUNT + labelZh: 追加语言标题 (结果小于设定值) + labelEn: Append language title (result is less than the set value) + required: true + type: number + - default: 15 + edit: true + envKey: INDEXER_RESULT_CACHE_EXPIRES + labelZh: 索引器结果缓存过期时间 (分钟) + labelEn: Indexer result cache expiration time (minutes) + required: true + type: number diff --git a/apps/jproxy/3.4.4/docker-compose.yml b/apps/jproxy/3.4.4/docker-compose.yml new file mode 100644 index 00000000..447115b5 --- /dev/null +++ b/apps/jproxy/3.4.4/docker-compose.yml @@ -0,0 +1,24 @@ +networks: + 1panel-network: + external: true + +services: + jproxy: + image: luckypuppy514/jproxy:v3.4.4 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:8117 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${PROWLARR_ROOT_PATH}/data:/app/database + environment: + - PUID=0 + - PGID=0 + - TZ=Asia/Shanghai diff --git a/apps/jproxy/3.4.4/scripts/init.sh b/apps/jproxy/3.4.4/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/jproxy/3.4.4/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/jproxy/3.4.4/scripts/uninstall.sh b/apps/jproxy/3.4.4/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/jproxy/3.4.4/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/jproxy/3.4.4/scripts/upgrade.sh b/apps/jproxy/3.4.4/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/jproxy/3.4.4/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/jproxy/README.md b/apps/jproxy/README.md new file mode 100644 index 00000000..171344b7 --- /dev/null +++ b/apps/jproxy/README.md @@ -0,0 +1,45 @@ +# JProxy + +介于 Sonarr / Radarr 和 Jackett / Prowlarr 之间的代理,主要用于优化查询和提升识别率 + +![Sonarr](https://file.lifebus.top/imgs/jproxy_cover.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) + +## 使用说明 + +> 默认用户名: jproxy +> +> 默认密码: jproxy@2023 + +## 安装说明 + +### 开启代理服务 + +在运行参数添加以下配置: + +> HTTP 代理 + ++ `-Dhttp.proxyHost` 代理服务器地址 ++ `-Dhttp.proxyPort` 代理服务器端口 + +示例: + +```shell +-Xms512m -Xmx512m -Dhttp.proxyHost=192.168.1.1 -Dhttp.proxyPort=7890 +``` + +> SOCKS 代理 + ++ `-DsocksProxyHost` 代理服务器地址 ++ `-DsocksProxyPort` 代理服务器端口 + +示例: + +```shell +-Xms512m -Xmx512m -DsocksProxyHost=192.168.1.1 -DsocksProxyPort=7890 +``` + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/jproxy/data.yml b/apps/jproxy/data.yml new file mode 100644 index 00000000..f1544cd2 --- /dev/null +++ b/apps/jproxy/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: jproxy + name: JProxy + tags: + - WebSite + - Local + shortDescZh: 介于 Sonarr / Radarr 和 Jackett / Prowlarr 之间的代理,主要用于优化查询和提升识别率 + shortDescEn: A proxy between Sonarr/Radarr and Jackett/Prowlarr, mainly used to optimize queries and improve recognition rate + type: website + crossVersionUpdate: true + limit: 0 + website: https://github.com/LuckyPuppy514/jproxy/ + github: https://github.com/LuckyPuppy514/jproxy/ + document: https://github.com/LuckyPuppy514/jproxy/ diff --git a/apps/jproxy/logo.png b/apps/jproxy/logo.png new file mode 100644 index 00000000..7cb8af5b Binary files /dev/null and b/apps/jproxy/logo.png differ diff --git a/apps/prowlarr/1.23.1/data.yml b/apps/prowlarr/1.23.1/data.yml new file mode 100644 index 00000000..ffa2f7ae --- /dev/null +++ b/apps/prowlarr/1.23.1/data.yml @@ -0,0 +1,16 @@ +additionalProperties: + formFields: + - default: "/home/prowlarr" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 9696 + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/apps/prowlarr/1.23.1/docker-compose.yml b/apps/prowlarr/1.23.1/docker-compose.yml new file mode 100644 index 00000000..cebada6a --- /dev/null +++ b/apps/prowlarr/1.23.1/docker-compose.yml @@ -0,0 +1,25 @@ +networks: + 1panel-network: + external: true + +services: + prowlarr: + image: linuxserver/prowlarr:1.23.1 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:9696 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${PROWLARR_ROOT_PATH}/config:/config + environment: + - PUID=1000 + - PGID=1000 + - UMASK=022 + - TZ=Asia/Shanghai diff --git a/apps/prowlarr/1.23.1/scripts/init.sh b/apps/prowlarr/1.23.1/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/prowlarr/1.23.1/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/prowlarr/1.23.1/scripts/uninstall.sh b/apps/prowlarr/1.23.1/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/prowlarr/1.23.1/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/prowlarr/1.23.1/scripts/upgrade.sh b/apps/prowlarr/1.23.1/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/prowlarr/1.23.1/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/prowlarr/README.md b/apps/prowlarr/README.md new file mode 100644 index 00000000..e56a593d --- /dev/null +++ b/apps/prowlarr/README.md @@ -0,0 +1,76 @@ +# Prowlarr + +终极索引器管理器。 + +![Prowlarr](https://file.lifebus.top/imgs/prowlarr_cover.png) + +Prowlarr 是一个基于流行 *arr .net/reactjs 基础堆栈的索引器管理/代理工具,旨在与您的各种 PVR 应用集成,支持对磁贴跟踪器和 +Usenet 索引器的管理。 + +![](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) + +## 特性 + +它与 Lidarr、Mylar3、Radarr、Readarr 和 Sonarr 无缝集成,提供对您的索引器的全面管理,无需为每个应用单独设置索引器(我们全部为您完成)。 + ++ 本地支持 24 个索引器的 Usenet,包括 Headphones VIP ++ 通过“通用 Newznab”对于任何 Newznab 兼容的索引器的 Usenet 支持 ++ 对超过 500 个跟踪器的种子支持,且不断添加更多 ++ 通过“通用 Torznab”支持任何与 Torznab 兼容的追踪器 ++ 通过 Cardigann 支持自定义 YML 定义,包括 JSON 和 XML 解析 ++ 索引器同步到 Lidarr/Mylar3/Radarr/Readarr/Sonarr,因此无需对其他应用程序进行手动配置 ++ 索引器历史和统计 ++ 手动在类别级别搜索追踪器和索引器 ++ 基于参数的手动搜索 ++ 支持一次直接将多个发布推送到您的下载客户端从 Prowlarr ++ 索引器健康和状态通知 ++ 代理支持索引器(SOCKS4、SOCKS5、HTTP、Flaresolverr) + +## 反向代理 + +> Nginx +> +> BaseUrl 为 `/prowlarr` 时的反向代理配置如下: + +```nginx + location /prowlarr { + proxy_pass http://127.0.0.1:9696; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_redirect off; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + } + + # Allow the API/Indexer External Access via NGINX + location ~ /prowlarr(/[0-9]+)?/api { + auth_basic off; + proxy_pass http://127.0.0.1:9696; + } +``` + +> Nginx +> +> BaseUrl 为 `/` 时的反向代理配置如下: + +```nginx + location / { + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + proxy_redirect off; + proxy_http_version 1.1; + + proxy_pass http://127.0.0.1:9696; + } +``` + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/prowlarr/data.yml b/apps/prowlarr/data.yml new file mode 100644 index 00000000..4d5884e7 --- /dev/null +++ b/apps/prowlarr/data.yml @@ -0,0 +1,15 @@ +additionalProperties: + key: prowlarr + name: Prowlarr + tags: + - WebSite + - Storage + - Local + shortDescZh: 终极索引器管理器 + shortDescEn: The ultimate indexer manager + type: website + crossVersionUpdate: true + limit: 0 + website: https://prowlarr.com/ + github: https://github.com/Prowlarr/Prowlarr/ + document: https://wiki.servarr.com/prowlarr/ diff --git a/apps/prowlarr/logo.png b/apps/prowlarr/logo.png new file mode 100644 index 00000000..2040da30 Binary files /dev/null and b/apps/prowlarr/logo.png differ diff --git a/apps/radarr/5.9.1/data.yml b/apps/radarr/5.9.1/data.yml new file mode 100644 index 00000000..0b192711 --- /dev/null +++ b/apps/radarr/5.9.1/data.yml @@ -0,0 +1,16 @@ +additionalProperties: + formFields: + - default: "/home/radarr" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 7878 + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/apps/radarr/5.9.1/docker-compose.yml b/apps/radarr/5.9.1/docker-compose.yml new file mode 100644 index 00000000..0570b945 --- /dev/null +++ b/apps/radarr/5.9.1/docker-compose.yml @@ -0,0 +1,27 @@ +networks: + 1panel-network: + external: true + +services: + radarr: + image: linuxserver/radarr:5.9.1 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:7878 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${PROWLARR_ROOT_PATH}/config:/config + - ${PROWLARR_ROOT_PATH}/movies:/movies + - ${PROWLARR_ROOT_PATH}/downloads:/downloads + environment: + - PUID=1000 + - PGID=1000 + - UMASK=022 + - TZ=Asia/Shanghai diff --git a/apps/radarr/5.9.1/scripts/init.sh b/apps/radarr/5.9.1/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/radarr/5.9.1/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/radarr/5.9.1/scripts/uninstall.sh b/apps/radarr/5.9.1/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/radarr/5.9.1/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/radarr/5.9.1/scripts/upgrade.sh b/apps/radarr/5.9.1/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/radarr/5.9.1/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/radarr/README.md b/apps/radarr/README.md new file mode 100644 index 00000000..fa439bc9 --- /dev/null +++ b/apps/radarr/README.md @@ -0,0 +1,78 @@ +# Radarr + +电影组织者/管理员,适用于 Usenet 和 torrent 用户。 + +![Radarr](https://file.lifebus.top/imgs/radarr_cover.png) + +Radarr 是为 Usenet 和 BitTorrent 用户设计的电影收藏管理器。它可以监控多个 RSS 源,寻找新电影,并与客户端和索引器接口,抓取、排序和重命名它们。 + +![](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) + +## 特性 + ++ 添加包含大量信息的新电影,如预告片、评分等。 ++ 主要平台支持:Windows,Linux,macOS,Raspberry Pi 等。 ++ 可以监控您拥有的电影质量,并自动升级。例如,从 DVD 升级到蓝光。 ++ 自动失败下载处理将在一个失败时尝试另一个版本 ++ 手动搜索,以便您可以选择任何版本或查看未自动下载版本的原因 ++ 与 SABnzbd 和 NZBGet 的全面整合 ++ 自动搜索发布内容以及 RSS 同步 ++ 自动导入下载的电影 ++ 识别特别版、导演剪辑版等。 ++ 识别具有硬编码字幕的发布 ++ 识别带有别名电影名的发布 ++ SABnzbd,NZBGet,QBittorrent,Deluge,rTorrent,Transmission,uTorrent 和其他下载客户端被支持并集成 ++ 与 Kodi 和 Plex 的全面整合(通知,库更新) ++ 导入元数据,如预告片或字幕 ++ 为 Kodi 和其他人添加元数据,如海报和信息 ++ 高级配置文件自定义,使得 Radarr 总是下载您想要的副本 ++ 美观的 UI + +## 反向代理 + +> Nginx +> +> BaseUrl 为 `/radarr` 时的反向代理配置如下: + +```nginx + location ^~ /radarr { + proxy_pass http://127.0.0.1:7878; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_redirect off; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + } + # Allow the API External Access via NGINX + location ^~ /radarr/api { + auth_basic off; + proxy_pass http://127.0.0.1:7878; + } +``` + +> Nginx +> +> BaseUrl 为 `/` 时的反向代理配置如下: + +```nginx + location / { + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + + proxy_redirect off; + proxy_http_version 1.1; + + proxy_pass http://127.0.0.1:7878; + } +``` + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/radarr/data.yml b/apps/radarr/data.yml new file mode 100644 index 00000000..03719dc9 --- /dev/null +++ b/apps/radarr/data.yml @@ -0,0 +1,15 @@ +additionalProperties: + key: radarr + name: Radarr + tags: + - WebSite + - Storage + - Local + shortDescZh: 电影组织者/管理员,适用于 Usenet 和 torrent 用户 + shortDescEn: Movie organizer and manager, suitable for Usenet and torrent users + type: website + crossVersionUpdate: true + limit: 0 + website: https://radarr.video/ + github: https://github.com/Radarr/Radarr/ + document: https://wiki.servarr.com/radarr/ diff --git a/apps/radarr/logo.png b/apps/radarr/logo.png new file mode 100644 index 00000000..0c259d39 Binary files /dev/null and b/apps/radarr/logo.png differ diff --git a/apps/sonarr/4.0.9/data.yml b/apps/sonarr/4.0.9/data.yml new file mode 100644 index 00000000..57704e24 --- /dev/null +++ b/apps/sonarr/4.0.9/data.yml @@ -0,0 +1,16 @@ +additionalProperties: + formFields: + - default: "/home/sonarr" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8989 + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/apps/sonarr/4.0.9/docker-compose.yml b/apps/sonarr/4.0.9/docker-compose.yml new file mode 100644 index 00000000..05a64eee --- /dev/null +++ b/apps/sonarr/4.0.9/docker-compose.yml @@ -0,0 +1,27 @@ +networks: + 1panel-network: + external: true + +services: + sonarr: + image: linuxserver/sonarr:4.0.9 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:8989 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + volumes: + - ${PROWLARR_ROOT_PATH}/config:/config + - ${PROWLARR_ROOT_PATH}/tv:/tv + - ${PROWLARR_ROOT_PATH}/downloads:/downloads + environment: + - PUID=1000 + - PGID=1000 + - UMASK=022 + - TZ=Asia/Shanghai diff --git a/apps/sonarr/4.0.9/scripts/init.sh b/apps/sonarr/4.0.9/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/sonarr/4.0.9/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/sonarr/4.0.9/scripts/uninstall.sh b/apps/sonarr/4.0.9/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/sonarr/4.0.9/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/sonarr/4.0.9/scripts/upgrade.sh b/apps/sonarr/4.0.9/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/sonarr/4.0.9/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/sonarr/README.md b/apps/sonarr/README.md new file mode 100644 index 00000000..16a7c5f4 --- /dev/null +++ b/apps/sonarr/README.md @@ -0,0 +1,72 @@ +# Sonarr + +智能 PVR 适用于新闻组和 BT 用户。 + +![Sonarr](https://file.lifebus.top/imgs/sonarr_cover.png) + +Sonarr 是为 Usenet 和 BitTorrent 用户设计的 PVR。它能够监控多个 RSS 订阅,寻找你喜爱的节目的新集,并抓取、整理和重命名它们。 + +![](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) + +## 特性 + ++ 主要平台支持:Windows,Linux,macOS,Raspberry Pi 等。 ++ 自动检测新集 ++ 可以扫描您的现有库并下载任何缺失的剧集 ++ 可以观看你已有的剧集的更高质量版本,并自动进行升级。例如,从 DVD 升级到蓝光。 ++ 自动失败下载处理将在一个失败时尝试另一个版本 ++ 手动搜索,以便您可以选择任何版本或查看未自动下载版本的原因 ++ 完全可配置的集名重命名 ++ 与 SABnzbd 和 NZBGet 的全面整合 ++ 与 Kodi、Plex(通知、库更新、元数据)的全面整合 ++ 全面支持特别节目和多集发布 ++ 美观的 UI + +## 反向代理 + +> Nginx +> +> BaseUrl 为 `/sonarr` 时的反向代理配置如下: + +```nginx + location ^~ /sonarr { + proxy_pass http://127.0.0.1:8989; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_redirect off; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + } + # Allow the API External Access via NGINX + location ^~ /sonarr/api { + auth_basic off; + proxy_pass http://127.0.0.1:8989; + } +``` + +> Nginx +> +> BaseUrl 为 `/` 时的反向代理配置如下: + +```nginx + location / { + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $http_connection; + + proxy_redirect off; + proxy_http_version 1.1; + + proxy_pass http://127.0.0.1:8989; + } +``` + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/sonarr/data.yml b/apps/sonarr/data.yml new file mode 100644 index 00000000..62ae1b02 --- /dev/null +++ b/apps/sonarr/data.yml @@ -0,0 +1,15 @@ +additionalProperties: + key: sonarr + name: Sonarr + tags: + - WebSite + - Storage + - Local + shortDescZh: 智能 PVR 适用于新闻组和 BT 用户。 + shortDescEn: Smart PVR for newsgroup and bittorrent users. + type: website + crossVersionUpdate: true + limit: 0 + website: https://sonarr.tv/ + github: https://github.com/Sonarr/Sonarr/ + document: https://wiki.sonarr.tv/ diff --git a/apps/sonarr/logo.png b/apps/sonarr/logo.png new file mode 100644 index 00000000..b76f154e Binary files /dev/null and b/apps/sonarr/logo.png differ