From db348666d1219f4b11178566d66f31412bab85ca Mon Sep 17 00:00:00 2001 From: Zaeem Akhtar Date: Sat, 16 Jul 2022 03:11:30 +0500 Subject: [PATCH] Added support for Jackett (#10) * Added support for Jackett. --- README.md | 1 + docker-compose.yml | 14 ++++++++++++++ setup.sh | 5 ++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4118c3a..5ceb5a9 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ crash*. It doesn't necessarily mean it will run well on your system ;) It featur where to download this. **Note**: when adding an indexer, please do not set the "seed ratio" to less than 1. Less than 1 means that you upload less than you download. Not only is this unfriendly towards your fellow users, but it can also get you banned from certain indexers. +- [Jackett](https://github.com/Jackett/Jackett) is an alternative to Prowlarr. - [qBittorrent](https://www.qbittorrent.org/) can download torrents and provides a bunch more features for management. - [PleX](https://www.plex.tv/) is a mediaserver. Using this, you get access to a Netflix-like diff --git a/docker-compose.yml b/docker-compose.yml index 6a0e768..8cd9cdc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -136,6 +136,20 @@ services: - 9696:9696 restart: unless-stopped + jackett: + image: lscr.io/linuxserver/jackett:latest + container_name: jackett + environment: + - PUID=13006 + - PGID=13000 + - UMASK=002 + - TZ=${TIMEZONE} + volumes: + - ${ROOT_DIR}/docker/jackett-config:/config + ports: + - 9117:9117 + restart: unless-stopped + qbittorrent: image: lscr.io/linuxserver/qbittorrent:latest container_name: qbittorrent diff --git a/setup.sh b/setup.sh index 9cc8ca7..8b449eb 100755 --- a/setup.sh +++ b/setup.sh @@ -8,6 +8,7 @@ sudo useradd readarr -u 13004 sudo useradd mylar -u 13005 sudo useradd prowlarr -u 13006 sudo useradd qbittorrent -u 13007 +sudo useradd jackett -u 13008 sudo groupadd mediacenter -g 13000 sudo usermod -a -G mediacenter sonarr sudo usermod -a -G mediacenter radarr @@ -16,9 +17,10 @@ sudo usermod -a -G mediacenter readarr sudo usermod -a -G mediacenter mylar sudo usermod -a -G mediacenter prowlarr sudo usermod -a -G mediacenter qbittorrent +sudo usermod -a -G mediacenter jackett # Make directories -sudo mkdir -pv docker/{sonarr,radarr,lidarr,readarr,mylar,prowlarr,qbittorrent}-config +sudo mkdir -pv docker/{sonarr,radarr,lidarr,readarr,mylar,prowlarr,qbittorrent,jackett}-config sudo mkdir -pv data/{torrents,media}/{tv,movies,music,books,comics} # Set permissions @@ -31,5 +33,6 @@ sudo chown -R readarr:mediacenter docker/readarr-config sudo chown -R mylar:mediacenter docker/mylar-config sudo chown -R prowlarr:mediacenter docker/prowlarr-config sudo chown -R qbittorrent:mediacenter docker/qbittorrent-config +sudo chown -R jackett:mediacenter docker/jackett-config echo "UID=$(id -u)" >> .env