From ee3159b5c77669383be5c75a629fa6ea82bbc960 Mon Sep 17 00:00:00 2001 From: nmfretz Date: Mon, 8 Jul 2024 11:17:04 +1000 Subject: [PATCH] Update Prowlarr --- prowlarr/docker-compose.yml | 18 ++++++++++++++++-- prowlarr/exports.sh | 14 ++++++++++++++ prowlarr/umbrel-app.yml | 29 +++++++++++++++++++++++++---- 3 files changed, 55 insertions(+), 6 deletions(-) diff --git a/prowlarr/docker-compose.yml b/prowlarr/docker-compose.yml index 18466df0b..2f54411e4 100644 --- a/prowlarr/docker-compose.yml +++ b/prowlarr/docker-compose.yml @@ -8,7 +8,7 @@ services: PROXY_AUTH_WHITELIST: "/api/*" server: - image: linuxserver/prowlarr:1.18.0@sha256:237e9a72c11c5350bf22e355759436ecd4fd660e820d5b556d9a9e436f25f6b9 + image: linuxserver/prowlarr:1.20.1@sha256:c43dc0311d4381395b60b3a6068e82226eddb213278bfe886bebabe67eb0f762 environment: - PUID=1000 - PGID=1000 @@ -17,8 +17,12 @@ services: - ${UMBREL_ROOT}/data/storage/downloads:/downloads restart: on-failure + indexer_proxy: + image: flaresolverr/flaresolverr:v3.3.17@sha256:5f5661db1e69a6f80ac24d47d9fa5580f6f741ee5ec967818396ae0dacecd7ea + restart: on-failure + mac: - image: getumbrel/media-app-configurator:v1.2.0@sha256:6aa568b53f6743dc4a7b3212f97b9d4ca78800ede5eadc0e4b80c7f3af50eda3 + image: getumbrel/media-app-configurator:v1.3.0@sha256:67e75dd9f5a14402b7816119a8e20189bc2465484cea077909d164687e59742b user: "1000:1000" restart: on-failure volumes: @@ -26,6 +30,7 @@ services: environment: APP_ID: "prowlarr" APP_URL: "http://prowlarr_server_1:9696" + FLARESOLVERR_URL: "http://prowlarr_indexer_proxy_1:8191" TRANSMISSION_HOST: "transmission_server_1" TRANSMISSION_PORT: 9091 RADARR_URL: "http://radarr_server_1:7878" @@ -36,3 +41,12 @@ services: SONARR_CONFIG_XML: "${APP_PROWLARR_SONARR_CONFIG_XML}" READARR_URL: "http://readarr_server_1:8787" READARR_CONFIG_XML: "${APP_PROWLARR_READARR_CONFIG_XML}" + # optional qBittorrent download client + QBITTORRENT_INSTALLED: ${APP_PROWLARR_QBITTORRENT_INSTALLED:-"false"} + QBITTORRENT_HOST: "qbittorrent_server_1" + QBITTORRENT_PORT: 8080 + # optional SABnzbd download client + SABNZBD_INSTALLED: ${APP_PROWLARR_SABNZBD_INSTALLED:-"false"} + SABNZBD_HOST: "sabnzbd_web_1" + SABNZBD_PORT: 8080 + SABNZBD_API_KEY: ${APP_PROWLARR_SABNZBD_API_KEY:-""} diff --git a/prowlarr/exports.sh b/prowlarr/exports.sh index b4806cb5d..24b5cab8a 100644 --- a/prowlarr/exports.sh +++ b/prowlarr/exports.sh @@ -2,3 +2,17 @@ export APP_PROWLARR_RADARR_CONFIG_XML=$(cat "${UMBREL_ROOT}/app-data/radarr/data export APP_PROWLARR_LIDARR_CONFIG_XML=$(cat "${UMBREL_ROOT}/app-data/lidarr/data/config/config.xml" 2>/dev/null || echo "") export APP_PROWLARR_SONARR_CONFIG_XML=$(cat "${UMBREL_ROOT}/app-data/sonarr/data/config/config.xml" 2>/dev/null || echo "") export APP_PROWLARR_READARR_CONFIG_XML=$(cat "${UMBREL_ROOT}/app-data/readarr/data/config/config.xml" 2>/dev/null || echo "") + +# Check if qBittorrent and SABnzbd are installed +installed_apps=$("${UMBREL_ROOT}/scripts/app" ls-installed) + +if echo "$installed_apps" | grep --quiet 'qbittorrent'; then + export APP_PROWLARR_QBITTORRENT_INSTALLED="true" +fi + +if echo "$installed_apps" | grep --quiet 'sabnzbd'; then + export APP_PROWLARR_SABNZBD_INSTALLED="true" + # export SABNZBD_API_KEY, which has the format: + # api_key = 98e3444f7fab45e592958673bf656g3 + export APP_PROWLARR_SABNZBD_API_KEY=$(grep -Po 'api_key = \K.*' "${UMBREL_ROOT}/app-data/sabnzbd/data/config/sabnzbd.ini") +fi diff --git a/prowlarr/umbrel-app.yml b/prowlarr/umbrel-app.yml index 2e6d43cef..0157887b3 100644 --- a/prowlarr/umbrel-app.yml +++ b/prowlarr/umbrel-app.yml @@ -2,10 +2,26 @@ manifestVersion: 1 id: prowlarr category: media name: Prowlarr -version: "1.18.0" +version: "1.20.1" tagline: Prowlarr is an indexer manager/proxy description: >- - Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports management of both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Lidarr, Mylar3, Radarr, Readarr, and Sonarr offering complete management of your indexers with no per app Indexer setup required (we do it all). + Prowlarr is an indexer manager/proxy built on the popular *arr .net/reactjs base stack to integrate with your various PVR apps. + Prowlarr supports management of both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Lidarr, Mylar3, Radarr, Readarr, and Sonarr offering complete management of your indexers with no per app Indexer setup required (we do it all). + + + 🛠️ SETUP INSTRUCTIONS + + + Prowlarr on umbrelOS will automatically: + + 1. Connect to Other Servarr Apps and Download Clients: + + Prowlarr will seamlessly integrate with other Servarr apps (e.g., Radarr, Sonarr, etc.) and download clients (e.g., Transmission, qBittorrent, etc.) installed from the Umbrel App Store. Simply install your preferred apps, and Prowlarr will handle the connections for you. + + + 2. Set up Flaresolverr: + + Prowlarr comes pre-configured with FlareSolverr. To use it, simply add the “flaresolverr” tag to any indexers that require it. developer: Prowlarr website: https://prowlarr.com/ dependencies: @@ -21,9 +37,14 @@ path: "" defaultUsername: "" defaultPassword: "" releaseNotes: >- - This update takes Prowlarr from 1.12.2 to 1.18.0. + Prowlarr on umbrelOS now: + + - Automatically connects to more download clients (qBittorrent and SABnzbd) installed from the Umbrel App Store. Simply install your preferred download client from the Umbrel App Store, and Prowlarr will handle the rest. No manual configuration required! If you currently have qBittorrent or SABnzbd installed, please update to the latest versions to take advantage of this feature. If you have previously set up Prowlarr with qBittorrent or SABnzbd, this update will not affect your existing settings. - Full release notes here: https://github.com/Prowlarr/Prowlarr/releases + - Comes pre-configured with FlareSolverr. To use it, simply add the “flaresolverr” tag to any indexers that require it. + + + Full release notes for Prowlarr are available at https://github.com/Prowlarr/Prowlarr/releases torOnly: false permissions: - STORAGE_DOWNLOADS