From 1973f19ae41d36a7e797faa5cdb4f3df8938f172 Mon Sep 17 00:00:00 2001 From: Navratan Lal Gupta <37469234+navilg@users.noreply.github.com> Date: Mon, 18 Jul 2022 18:19:22 +0530 Subject: [PATCH] Update readme --- README.md | 35 +++++++++++++---------------------- post-deploy.sh | 5 +---- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 1141c35..8a28d21 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,20 @@ -# Create docker network +# Install radarr. sonarr, transmission, jackett and jellyfin -docker create network radarr +- Change transmission password in docker-compose.yml file +- Run below commands -# Install radarr - -docker run -d --name=radarr -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -p 7878:7878 -v radarr-data:/config --restart unless-stopped -v $HOME/movies:/downloads --net radarr lscr.io/linuxserver/radarr:latest - -# Install Transmission - -Download directory must be same for Radarr and Transmission - -docker run -d --name=transmission -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -p 9091:9091 -p 51413:51413 -p 51413:51413/udp -v transmission-config:/config -v $HOME/movies:/downloads -v transmission-watch:/watch --restart unless-stopped --net radarr lscr.io/linuxserver/transmission:latest - -# Install Jackett - -docker run -d --name=jackett -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -p 9117:9117 -v jackett-config:/config -v jackett-downloads:/downloads --restart unless-stopped --net radarr lscr.io/linuxserver/jackett:latest - -# Install Jellyfin (Optional) - -Download directory same as Transmissiona and Radarr - -docker run -d --name=jellyfin -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -p 8096:8096 -p 7359:7359/udp -v jellyfin-config:/config -v transmission-download:/data/movies --restart unless-stopped --net radarr lscr.io/linuxserver/jellyfin:latest +``` +bash pre-deploy.sh +docker-compose up -d +docker-compose -f docker-compose-nginx.yml up -d # OPTIONAL +bash post-deploy.sh +``` # Add indexer to Jackett - Open Jackett UI at http://localhost:9117 - Add indexer -- Search for torrent indexer (e.g. the pirates bay) +- Search for torrent indexer (e.g. the pirates bay, YTS) - Add selected # Configure Radarr @@ -66,6 +54,9 @@ docker run -d --name=jellyfin -e PUID=1000 -e PGID=1000 -e TZ=Europe/Lon - Get inside Nginx container - `cd /etc/nginx/conf.d` - Add proxies as per below for all tools. +- OR, copy nginx.conf file to /etc/nginx/conf.d/default.conf and make necessary changes + +`docker cp nginx.conf nginx:/etc/nginx/conf.d/default.conf && docker exec -it nginx nginx -s reload` - Close ports of other tools in firewall/security groups except port 80 and 443. diff --git a/post-deploy.sh b/post-deploy.sh index be0a402..509373f 100755 --- a/post-deploy.sh +++ b/post-deploy.sh @@ -4,7 +4,4 @@ docker exec -it transmission mkdir -p /downloads/movies docker exec -it transmission chown -R 1000:1000 /downloads/movies docker exec -it transmission mkdir -p /downloads/tvshows -docker exec -it transmission chown -R 1000:1000 /downloads/tvshows - - -docker ps | grep nginx && docker cp nginx.conf nginx:/etc/nginx/conf.d/default.conf && docker exec -it nginx nginx -s reload \ No newline at end of file +docker exec -it transmission chown -R 1000:1000 /downloads/tvshows \ No newline at end of file