A proxy between Sonarr / Radarr
and Jackett / Prowlarr
, mainly used to optimize search and improve recognition rate
graph LR
1[Sonarr / Radarr] == request Jackett / Prowlarr Torznab interface ==> 2(JProxy) == proxy Sonarr / Radarr request ==> 3(Jackett / Prowlarr)
3(Jackett / Prowlarr) == return raw result ==> 2(JProxy) == return formatted result ==> 1(Sonarr / Radarr)
2(JProxy) == optimize search keywords ==> 2(JProxy)
2(JProxy) == format search result ==> 2(JProxy)
version: '3.0'
services:
jproxy:
image: luckypuppy514/jproxy:latest
container_name: jproxy
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- JAVA_OPTS=-Xms512m -Xmx512m
ports:
- 8117:8117
volumes:
- /docker/jproxy/database:/app/database
If you want deploy via docker run
,see docker-run.sh
Parameter | Default | Description |
---|---|---|
PUID | 0 | User ID |
PGID | 0 | Group ID |
TZ | Asia/Shanghai | Timezone |
JAVA_OPTS | -Xms512m -Xmx512m | JVM parameters |
CACHE_EXPIRES | 4320 | Cache expiration time (minutes) |
TOKEN_EXPIRES | 10080 | Login expiration time (minutes) |
SYNC_INTERVAL | 3 | Synchronization interval (minutes) |
RENAME_FILE | true | File rename switch (true/false) |
MIN_COUNT | 8 | Append title of primary language (without season and episode number) to search while current result count less than this value |
INDEXER_RESULT_CACHE_EXPIRES | 15 | Indexer result cache expiration time (minutes) |
If you need to set a proxy, you can append the corresponding proxy parameters in JAVA_OPTS
- HTTP Proxy
-Xms512m -Xmx512m -Dhttp.proxyHost=192.168.6.2 -Dhttp.proxyPort=12345
- SOCKS Proxy
-Xms512m -Xmx512m -DsocksProxyHost=192.168.6.2 -DsocksProxyPort=54321
- Download jdk17, install and configure environment variables
- Download windows.zip ,unzip to the installation directory
Filename | Explanation | Remark |
---|---|---|
startup.bat | starup script | - |
shutdown.bat | shutdown script | - |
startup-daemon.bat | startup background script | hidden window running in the background |
database | database | keep it while upgrade |
config | configuration files | - |
jproxy.jar | Runnable jar package | - |
- URL:
http://127.0.0.1:8117/login
- User:
jproxy
- Password:
jproxy@2023
① Fill in Sonarr Server Url
, API KEY
, and Indexer Address
in System - Configure
(Jackett or Prowlarr)
💡 After saving, it should normally be as shown in the picture below ✅, otherwise please check the input and network connectivity
② For the first use, it is recommended to manually synchronize Series Title
and Series Rule
once (it will be automatically synchronized later)
③ Modify the IP
and Port
of the indexer to the IP
and Port
of JProxy, and append the path
Jackett
http://192.168.6.15:9117/api/v2.0/......
➡️ http://192.168.6.14:8117/sonarr/jackett/api/v2.0/......
Prowlarr
http://192.168.6.15:9696
➡️ http://192.168.6.14:8117/sonarr/prowlarr
And change Authentication Required
to Disabled for Local Addresses
🎗️ For advanced configuration and usage, see wiki
Feel free to dive in!Open an issue or submit PRs.
MIT © LuckyPuppy514