Self-Hosted Media Torrent Loop + VPN reddit / selfhosted ---------------------------------------------------------------------- ThtRndmEncntrGy · 2023-12-07 03:26 I just recently bought a brand-new Synology 4-bay home server for the purpose of remotely streaming media to my friends (the 4-bay model was always meant to be jumping off point; that’s not the important part—I will link to the Amazon listing of my current model if necessary), and I’ve been having issues getting the actual project off the ground. I’m very new at this and having to basically teach myself everything when not relying on guides and YouTube (which has helped here but not so much there), and I’m not too versed in coding language to really understand things too well. I apologize if anything here is super obvious but this is all brand-new to me. I want to explain that the goal I intended for this was to build a self-hosted torrent loop, which I could use to build my current media collection efficiently—within my current means, of course. By mounting my cloud drive (OpenDrive specifically, or, more accurately, WebDAV), I can link my library to media managers like Jellyfin and Plex (movies, anime, TV), music/audiobooks, reading (books, comics, manga, light novels), games, and so forth, and most importantly use things like QbittTorrent, Sonarr/Radarr, and similar things to directly *save* into said mounted cloud drive; ergo, creating a self-contained torrent loop that would be constantly feeding my media library new content (which I can remotely access from anywhere, be it the server itself or my OpenDrive cloud drive). I need a media stack solution that can accomplish the following: * Mounting my WebDAV [OpenDrive] cloud drive to be used like an actual drive (i.e. allow Jellyfin/Plex to pull media from it, and Torrents to save into it) * Utilize ExpressVPN to allow me to utilize the web browsing and torrenting safely (I use ExpressVPN on all my other devices, unless there’s a cheaper, safer, more efficient VPN I can switch to); obviously without compromising the aforementioned mounted drive * Loading the required systems for Movies, TV, Reading (books, comics, manga, all that), Music (+Audiobooks and podcasts), and, if possible, Games; while we’re at it, I might need to toss on Kodi as well * Remote access; this is VITAL to my plans going forward (I don’t want to leave anything up to chance, so might as well throw that in here too) There’s other things I’ve seen people doing with their servers that look really exciting like Virtual Machines, AI/machine learning stuff, but what I have written above is what I’m interested in getting started currently; maybe I’ll get to those other things later, but we’re ignoring them for now. I want to learn more about using Docker and Portainer, but getting a self-hosted torrent loop and media streaming/sharing/requesting server takes highest priority. Literally any help would be appreciated, I’ve tried looking for guides and they don’t make any sense to me. I once again apologize if any of this is super obvious or anything. ---------------------------------------------------------------------- cNo1Goldsnake · 2023-12-07 13:31 I guess the starting point is learning docker. My main server is Windows based (sorry everyone) so you'll need to adjust volume mounts etc but the start of my stack is the following: docker run --name gluetun -it --cap-add=NET_ADMIN -e VPN_SERVICE_PROVIDER=protonvpn -e OPENVPN_USER=**inserthere** -e OPENVPN_PASSWORD=**inserthere** -e SERVER_COUNTRIES=Netherlands -e FIREWALL_OUTBOUND_SUBNETS=192.168.1.0/24 -p 8080:8080 -p 9696:9696 --restart unless-stopped qmcgaw/gluetun:latest docker run -d --network=container:gluetun --name=qbittorrent -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC -e WEBUI_PORT=8080 --volume=F:\Docker\qbtorrent:/config --volume=F:\Docker\qbtorrent\Downloads:/downloads lscr.io/linuxserver/qbittorrent:latest docker run -d --network=container:gluetun --name=prowlarr -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC --volume=F:\Docker\prowlarr:/config --restart unless-stopped lscr.io/linuxserver/prowlarr:latest docker run -d --name=overseerr -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC -p 5055:5055 -v F:\Docker\DockerDesktopWSL\main:/config --restart unless-stopped lscr.io/linuxserver/overseerr:latest Important thing is having your torrent client going through the vpn. I'm running Plex, radarr and sonarr native in Windows as it's more efficient on system resources. On the setup for each service you link it to the other services, and make sure you setup your movie tags etc. Then when you request a movie in overseerr, it'll send the request to radarr which triggers the download and then pushes it to the plex library once it's available. All the projects have documentation for Docker Compose as well, since that's "best practice" these days. ---------------------------------------------------------------------- really_bad_eyes · 2023-12-07 13:58 Downloading to and seeding from mounted WebDAV is not recommended as it is slow and taxing on the hardware. You should download to local storage, seed, then offload it to WebDAV via the mount or otherwise. Playing media from mounted storage is totally fine though. ---------------------------------------------------------------------- ThtRndmEncntrGy · 2023-12-07 17:22 Alright; I was hoping to just directly save everything into the cloud drive directly, but if you say so. It’s obviously far more important that I’m able to have things like Plex and Jellyfin gathering information and streaming/populating from OpenDrive/WebDAV (unless there’s an easier/cheaper cloud drive with unlimited storage, then I’ll just push everything over to that—I’m paying around $200/year now, because that’s the lowest price I could find).