Easy Automated Home Media Server: VPN, Radarr, Sonarr, Lidarr, Librarian in 10 Minutes.

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

Easiest Home Media Setup.

VPN Docker: https://haugene.github.io/docker-transmission-openvpn/

Lidarr: https://docs.linuxserver.io/images/docker-lidarr

Radarr: https://docs.linuxserver.io/images/docker-radarr

Sonarr: https://docs.linuxserver.io/images/docker-sonarr

Librarian: https://docs.linuxserver.io/images/docker-lazylibrarian

Compose file


version: '2.1'
services:
    transmission-openvpn:
        volumes:
            - /srv/dev-disk-by-label-media/downloads/:/data
            - /etc/localtime:/etc/localtime:ro
        environment:
            - PGID=1000
            - PUID=100
            - CREATE_TUN_DEVICE=true
            - OPENVPN_PROVIDER=NORDVPN
            # - OPENVPN_CONFIG=default
            - NORDVPN_COUNTRY=US
            - NORDVPN_CATEGORY=legacy_p2p
            - NORDVPN_PROTOCOL=udp
            - OPENVPN_USERNAME=1234567890987654321
            - OPENVPN_PASSWORD=1234567890987654321
            - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
            - WEBPROXY_ENABLED=false
            - LOCAL_NETWORK=192.168.8.0/24
            - TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED=false
            - DNS=8.8.8.8,8.8.4.4
        cap_add:
            - NET_ADMIN
        logging:
            driver: json-file
            options:
                max-size: 10m
        ports:
            - 9091:9091
            - 9117:9117
            - 7878:7878
            - 8989:8989
            - 8686:8686
            - 5299:5299
        restart: always
        image: haugene/transmission-openvpn
    jackett:
        image: linuxserver/jackett
        container_name: jackett
        network_mode: "service:transmission-openvpn"
        environment:
            - PUID=1000
            - PGID=100
            - TZ=America/New_York
            - AUTO_UPDATE=true #optional
            - RUN_OPTS=#optional
        volumes:
            - /srv/dev-disk-by-label-media/appdata/jackett:/config
            - /srv/dev-disk-by-label-media/downloads/watch:/downloads
        restart: unless-stopped
    radarr:
        image: linuxserver/radarr
        network_mode: "service:transmission-openvpn"
        container_name: radarr
        environment:
            - PUID=1000
            - PGID=100
            - TZ=America/New_York
            - UMASK_SET=022 #optional
        volumes:
            - /srv/dev-disk-by-label-media/appdata/radarr:/config
            - /srv/dev-disk-by-label-media/media/movies:/movies
            - /srv/dev-disk-by-label-media/downloads/completed:/downloads
        restart: unless-stopped
    sonarr:
        image: linuxserver/sonarr
        network_mode: "service:transmission-openvpn"
        container_name: sonarr
        environment:
          - PUID=1000
          - PGID=100
          - TZ=America/New_York
          - UMASK_SET=022 #optional
        volumes:
         - /srv/dev-disk-by-label-media/appdata/sonarr:/config
         - /srv/dev-disk-by-label-media/media/tv:/tv
         - /srv/dev-disk-by-label-media/downloads/completed:/downloads
        restart: unless-stopped
    lidarr:
        image: linuxserver/lidarr
        network_mode: "service:transmission-openvpn"
        container_name: lidarr
        environment:
            - PUID=1000
            - PGID=100
            - TZ=America/New_York
            - UMASK_SET=022 #optional
        volumes:
            - /srv/dev-disk-by-label-media/appdata/lidarr:/config
            - /srv/dev-disk-by-label-media/media/music:/music
            - /srv/dev-disk-by-label-media/downloads/completed:/downloads
        restart: unless-stopped
    lazylibrarian:
        image: linuxserver/lazylibrarian
        network_mode: "service:transmission-openvpn"
        container_name: lazylibrarian
        environment:
            - PUID=1000
            - PGID=100
            - TZ=America/New_York
           #- DOCKER_MODS=linuxserver/calibre-web:calibre #optional
        volumes:
            - /srv/dev-disk-by-label-media/appdata/lazylibrarian:/config
            - /srv/dev-disk-by-label-media/downloads/completed:/downloads
            - /srv/dev-disk-by-label-media/media/ebooks:/books
        restart: unless-stopped
👍︎︎ 6 👤︎︎ u/jdainen 📅︎︎ Jul 18 2020 🗫︎ replies

I have an issue with this setup, I can't connect any of sonarr, radarr, lidarr to jackett or transmission. It seems that they can't ping my 192.xx.xx.xx address.I tried the "default_docker" network gateway address 172.xx.xx.xx of transmission and it works, but it's definitely not a solution since it's not static.

Any ideas on how to fix this ?

👍︎︎ 1 👤︎︎ u/kabaila 📅︎︎ Sep 06 2020 🗫︎ replies
Captions
so today we're going to set up a super automated easy media server and the special thank you to all my patrons who without your support this channel would not be possible and a special thank you to my news patron Willy Woolrich and if you haven't already please think about becoming a patron for the channel you love so welcome to techno dad life and I'm Jeff and so what we're going to be doing today is taking the most common media applications that need to access the Internet and combine them so that they're all in one container under a VPN so any time you use those programs they're automatically run through a VPN so basically what I've done is created stacks or a docker compose file that you can just copy and then change the things that I'm about to tell you about and then just paste that into docker compose or stacks if you're using port Aynor and then all the containers will line up and magic will happen the skies will open up the Sun will come shining down and everything will work automatically so the programs that we're going to be using are one a VPN radar lidar sonar jacket and then also lazy librarian so let's take a look at that so here in the docker compose file file I've highlighted in red the things that need to be changed but what I'll do is we'll go through each of these areas and explain what everything means so you can learn something too so if anything goes wrong you can also fix it so here we have the first part of our compose file this is the transmission open VPN and so this is the container where all our other Dockers are going to go through so that they're always encrypted and use a VPN so the first thing we need is a data volume and because this container that we're using is already a VPN with transmission this is actually the Downloads folder for transmission for this data next line is our local time then we need to change our pu ID to 100 if we're using open media vaults create to an advice means basically that we're going to be creating a simple VPN tunnel next we need to put in our provider and so if you're using Nord VPN you're gonna have some different commands than the other one I will leave a link to the transmission VPN container container maintainer who where you can find out what commands or what's name you need to put in for your VPN provider and so just give you a little preview we're using the hugene Ducker - transmission - open VPN and if we go down to documentation then click on supported providers you can see there's a bunch of supported for providers and since we're using Nord VPN we have to put in our VPN like that since we're using nor peep VPN we're going to comment out the open config defaults so for north VPN we have to put in three lines which if you're using a different VPN provider you don't have to do but in order for Nord VPN to work you have to do this and so the first is Nord VPN - country equals your country Nord VPN category equals here is for peer-to-peer and then Nord VPN protocol so next what we have to do is put in our username and password for our VPN and you would put that here that in this line if you're using Nord VPN there's a new suggested way of doing that what you need to do is log into my account comm that will give you an encrypted username and password that then you can put in those two lines this next line where it says open VPN ops basically what this is doing is so if you've lost your connection to your VPN this will just try to reconnect so we're not going to have a web proxy and then here where it says local network you need to put the IP range of your local what network and so here my IP is 192.168.0.1 tents enabled equals false what this line does is if your turrents are done downloading then it shuts them and then we added in Google DNS servers this is suggested I found that this did not work without those add it in there for me and then we're having some blogging files so in this next area you'll see lots of different ports and so we have our ports for transmission lidar radar sonar and lazy librarians so that's what those are for so what you'll see is we had to take them out of the docker file down below of those different things and we had to add them here in the VPN part of the container restart policy is always and here is our docker image now we're in the jacket section and so here we're using the linux server jacket and network mode service colon transmission Open VPN just means that we have to this part of the docker has to go through the VPN to work environmental variables so again change your PG ID your location this container will automatically update and then we need to have our app data folder for jacket and then our downloads folder this is the watch folder so the watch folder is where you drop torrents and then transmission well then look for them next is radar and you can see is very similar so for radar we have three folders we have our config folder our movies folder where the files will be deposited and then our downloads completed so that's where radar will look for any movies next section is sonar and again almost exactly the same the difference here is it goes to a TV folder and then lied our only difference here as it goes to a music folder and then lazy librarian so lazy librarian can connect to a caliber a folder so if you already have calibrate setup then you can access your database and where would do that is right here dr. BOTS Lennox server calibrate and I have this commented out because I don't have that and then we have our app data folder our downloads folder and our ebook folders and then finally restart and less stopped so next we need to go to port teener we need to go to the stack session and start a new stack so go to stacks and then add new stack we're gonna call this VPN simply copy the whole modified file that you have paste that in and then scroll down and hit deploy now this is going to take some time because it's going to download six different docker files so time for a cup of coffee so now it's done and you probably drink a whole pot of coffee by this time now we're in sex and we can see we have a VPN stack now because that's what I named my stack if we go to containers we can now see all our containers are running for the transmission VPN it might stay red for a little while or say starting up or something like that and it just takes a few minutes to get going so let's click on the piece of paper there and we can see our VPN is up and running and so now we're going to look at all the different containers that we just opened up so copy your IP address and the first one is going to be 9091 and that is transmission and so transmission is up and running next is 78 78 and that is radar then we have 86 86 and that is lidar 89 89 is sonar 9 1 1 7 is jackets and then 5 2 2 or 5 2 99 is lazy librarian so you can see the actual process of getting them all to work just takes a few minutes now we just have to adjust a few settings and then they will automatically I don't magically do whatever you want so first of all let's see if transmission is working correctly so well we're going to add a file and so we're going to go to and boot to copy the link for the bit turnt paste that in and upload and here we can see after a few seconds that our BitTorrent server is working so we can stop that if we want to easily add torrents outside of our whole mega container that we're making here there is an extension we can add to Chrome and so it's called transmission easy client we just click Add to Chrome add extension and then click on it and we need to put in the IP address of our transmission so just copy that paste that in there with that the HTTP TTP then click apply and now let's do that same thing again let's go over here well right click and you can see now we have an ad and transmission so we click on nets and the cool thing is we can see this two different places it's right there and so now we have it in both different places if we're you don't have access to our server and we can stop it in one and it stops it in both so next we need to go to jackets and so we need to add what are called indexers to jacket so that it can actually find information so I'll just show you how to do that so in the top here you click Add indexer and what I find easiest if you click on type it will sort by type and we want the green type there it is so if we look at this area you can see it's organized by name category if it's public or private and then language so you should always pick out the language that is appropriate for you and so I speak English I'm just going to pick this one e t TV and you click on the green button then the indexer ends up here we'll pick one more and I'll click on that and so now we have two indexers added and to test them you can either press on test or you can press test all at the top they're both working so now the next part is we are going to move on to radar then sonar and lidar and then lazy librarian and get everything organized there so with radar now you can see the has three warnings but that's because we that's because we don't have a tracker or a download client added yet so we're going to go to settings go to indexers click the plus sign go down to tour's NAB custom type in jacket and then the API key is at the top of Jackie here so we can use to copy that paste that there so now for the URL we're gonna click custom tours nav feed go back to jacket paste that in there up and it didn't do it and that's because there seems to be some glitch in jacket I can't get that to work but we'll show you a different way to get it to work so go back to jacket click on copy tors nav feed next to one of your indexers go back to the URL section paste that in and what we're gonna do is shorten this so it has your IP address tors Neb slash all and then slash and so what this will do is check all the indexers that you have in jacket then click test and if we look down in the bottom right it says testing jacket succeeded and then click Save next click on download client the plus sign under download clients then click on transmission give it the name transmission and then here we need our IP address so we copy the IP address of transmission and then we click test and so here you can see not bad with HTTP so we need to get rid of all the slashes and letters we click test again and down in the right corner you can see it's succeeded then we click Save and then we click Save here again and now we're going to go back to port Ainur and next to radar we're gonna put a little check mark and then we're going to click restart and then you can see across the top here there's a line that goes across that's done we go back to radar and we refresh radar and now if you look here all the warnings are gone so next let's do sonar basically the exact same thing go to Settings indexers ed indexer towards NAB custom so we're gonna call this jacket we need the same URL as we had from radar so we'll just click on radar copy the URL paste that in and say meep API key then we're gonna click test if we look down in the bottom right it says jacket tests succeeded then click Save download clients click the plus click on transmission call this transmission copy our IP address again take out all the slashes and letters and then click tests and it succeeded down in the bottom right and then click Save and then click Save now we're going to go back to port teener put a check mark next to sonar restart go back to so now refresh the page and our warnings have gone next is lidar so go down to settings indexers plus tours Neb all that jackets then we need the same URL so we'll just copy that from radar and the same API key then we're gonna click test and we got a checkmark so we're going to click Save there and then download clients plus on the download clients scroll down to transmission call this transmission put in our IP address for transmission get rid of the extras and then click tests and I got the green checkmark so we're gonna click Save then we're going to go over to port Ainur click on lidar restarts go back to lidar and then refresh the page and it says we still have one error let's take a look you're using docker and as far as I can tell so there says so this message is warning us about our path but we mapped our path in our docker containers so we don't have to worry about that next we'll go to lazy library and click on config click on down letters and then transmission paste our transmission address in and then it's port 9091 we don't have a username or a password and then for our container our path is downloads if we click on test transmission transmission login successful and then we click close and so what we're gonna look at is changing the permissions just before before there are any problems so you go to radar and you try to add a folder for your movies to go into and it says permission that allowed for ABC so what should you do go back to port Taner and go to radar and then click on the exec console click connect then type in change mode space - capital R space small the space 777 slash movies and then hit enter and then that will change the permissions for that file and then you should be able to use that file now for sonar you would do the same thing but you put slash TV for wider it's in thing slash music and then for lazy librarian same thing slash ebooks if that's how you set up and so that will prevent the dreaded ABC user problem and so that's it for today I hope you found this helpful make sure you like and subscribe and if you have any ideas or any improvements to what we just did here make sure you leave those down in the comments below we'll see you next time bye bye Oh
Info
Channel: Techno Dad Life
Views: 75,005
Rating: undefined out of 5
Keywords: techno dad life, vpn, radarr, sonarr, lidarr, lazylibrarian docker, docker, openmediavault, setup for sonarr, media server linux
Id: 5rtGBwBuzQE
Channel Id: undefined
Length: 20min 52sec (1252 seconds)
Published: Sat Jul 18 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.