The complete guide to building your personal self hosted server for streaming and ad-blocking powered by Plex, Jellyfin, Adguard Home and Docker.

cross-posted from: lemmy.dbzer0.com/post/5911320

The complete guide to building your personal self hosted server for streaming and ad-blocking.

Captain’s note: This OC was originally posted in reddit but it’s quality makes me wants to ensure a copy survices in lemmy as well.


We will setup the following applications in this guide:

  • Docker
  • AdguardHome - Adblocker for all your devices
  • Jellyfin/Plex - For watching the content you download
  • Qbittorrent - Torrent downloader
  • Jackett - Torrent indexers provider
  • Flaresolverr - For auto solving captcha in some of the indexers
  • Sonarr - *arr service for automatically downloading TV shows
  • Radarr - *arr service for movies
  • Readarr - *arr service for (audio)books
  • lidarr - *arr service for music
  • Bazarr - Automatically downloads subtitles for Sonarr and Radarr
  • Ombi/Overseer - For requesting movies and tv shows through Sonarr and Radarr
  • Heimdall - Dashboard for all the services so you don’t need to remember all the ports

Once you are done, your dashboard will look something like this.

Heimdall Dashboard

I started building my setup after reading this guide https://www.reddit.com/r/Piracy/comments/ma1hlm/the_complete_guide_to_building_your_own_personal/.

Hardware

You don’t need powerful hardware to set this up. I use a decade old computer, with the following hardware. Raspberry pi works fine.

Hardware

Operating system

I will be using Ubuntu server in this guide. You can select whatever linux distro you prefer.

Download ubuntu server from https://ubuntu.com/download/server. Create a bootable USB drive using rufus or any other software(I prefer ventoy). Plug the usb on your computer, and select the usb drive from the boot menu and install ubuntu server. Follow the steps to install and configure ubuntu, and make sure to check “Install OpenSSH server”. Don’t install docker during the setup as the snap version is installed.

Once installation finishes you can now reboot and connect to your machine remotely using ssh.


<span style="color:#323232;">ssh username@server-ip 
</span><span style="color:#323232;"># username you selected during installation
</span><span style="color:#323232;"># Type ip a to find out the ip address of your server. Will be present against device like **enp4s0** prefixed with 192.168.
</span>

Create the directories for audiobooks, books, movies, music and tv.

I keep all my media at ~/server/media. If you will be using multiple drives you can look up how to mount drives.

We will be using hardlinks so once the torrents are downloaded they are linked to media directory as well as torrents directory without using double storage space. Read up the trash-guides to have a better understanding.


<span style="color:#323232;">mkdir ~/server
</span><span style="color:#323232;">mkdir ~/server/media # Media directory
</span><span style="color:#323232;">mkdir ~/server/torrents # Torrents
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Creating the directories for torrents
</span><span style="color:#323232;">cd ~/server/torrents
</span><span style="color:#323232;">mkdir audiobooks  books  incomplete  movies  music  tv 
</span><span style="color:#323232;">
</span><span style="color:#323232;">cd ~/server/media
</span><span style="color:#323232;">mkdir audiobooks  books  movies  music  tv
</span>

Installing docker and docker-compose

Docker https://docs.docker.com/engine/install/ubuntu/


<span style="color:#323232;"># install packages to allow apt to use a repository over HTTPS
</span><span style="color:#323232;">sudo apt-get update
</span><span style="color:#323232;">sudo apt-get install 
</span><span style="color:#323232;">    apt-transport-https 
</span><span style="color:#323232;">    ca-certificates 
</span><span style="color:#323232;">    curl 
</span><span style="color:#323232;">    gnupg 
</span><span style="color:#323232;">    lsb-release
</span><span style="color:#323232;"># Add Docker’s official GPG key:
</span><span style="color:#323232;">curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
</span><span style="color:#323232;"># Setup the repository
</span><span style="color:#323232;">echo 
</span><span style="color:#323232;">  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu 
</span><span style="color:#323232;">  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
</span><span style="color:#323232;"># Install Docker Engine
</span><span style="color:#323232;">sudo apt-get update
</span><span style="color:#323232;">sudo apt-get install docker-ce docker-ce-cli containerd.io
</span><span style="color:#323232;"># Add user to the docker group to run docker commands without requiring root
</span><span style="color:#323232;">sudo usermod -aG docker $(whoami) 
</span>

Sign out by typing exit in the console and then ssh back in

Docker compose https://docs.docker.com/compose/install/


<span style="color:#323232;"># Download the current stable release of Docker Compose
</span><span style="color:#323232;">sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
</span><span style="color:#323232;"># Apply executable permissions to the binary
</span><span style="color:#323232;">sudo chmod +x /usr/local/bin/docker-compose
</span>

Creating the compose file for Adguard home

First setup Adguard home in a new compose file.

Docker compose uses a yml file. All of the files contain version and services object.

Create a directory for keeping the compose files.


<span style="color:#323232;">mkdir ~/server/compose
</span><span style="color:#323232;">mkdir ~/server/compose/adguard-home
</span><span style="color:#323232;">vi ~/server/compose/adguard-home/docker-compose.yml
</span>

Save the following content to the docker-compose.yml file. You can see here what each port does.


<span style="color:#323232;">version: '3.3'
</span><span style="color:#323232;">services:
</span><span style="color:#323232;">    run:
</span><span style="color:#323232;">        container_name: adguardhome
</span><span style="color:#323232;">        restart: unless-stopped
</span><span style="color:#323232;">        volumes:
</span><span style="color:#323232;">            - '/home/${USER}/server/configs/adguardhome/workdir:/opt/adguardhome/work'
</span><span style="color:#323232;">            - '/home/${USER}/server/configs/adguardhome/confdir:/opt/adguardhome/conf'
</span><span style="color:#323232;">        ports:
</span><span style="color:#323232;">            - '53:53/tcp'
</span><span style="color:#323232;">            - '53:53/udp'
</span><span style="color:#323232;">            - '67:67/udp'
</span><span style="color:#323232;">            - '68:68/udp'
</span><span style="color:#323232;">            - '68:68/tcp'
</span><span style="color:#323232;">            - '80:80/tcp'
</span><span style="color:#323232;">            - '443:443/tcp'
</span><span style="color:#323232;">            - '443:443/udp'
</span><span style="color:#323232;">            - '3000:3000/tcp'
</span><span style="color:#323232;">        image: adguard/adguardhome
</span>

Save the file and start the container using the following command.


<span style="color:#323232;">docker-compose up -d
</span>

Open up the Adguard home setup on YOUR_SERVER_IP:3000.

Enable the default filter list from filters→DNS blocklist. You can then add custom filters.

Filters

Creating the compose file for media-server

Jackett

Jackett is where you define all your torrent indexers. All the *arr apps use the tornzab feed provided by jackett to search torrents.

There is now an *arr app called prowlarr that is meant to be the replacement for jackett. But the flaresolverr(used for auto solving captchas) support was added very recently and doesn’t work that well as compared to jackett, so I am still sticking with jackett for meantime. You can instead use prowlarr if none of your indexers use captcha.


<span style="color:#323232;">jackett:
</span><span style="color:#323232;">    container_name: jackett
</span><span style="color:#323232;">    image: linuxserver/jackett
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/jackett:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server/torrents:/downloads'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '9117:9117'
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">prowlarr:
</span><span style="color:#323232;">		container_name: prowlarr
</span><span style="color:#323232;">    image: 'hotio/prowlarr:testing'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '9696:9696'
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/prowlarr:/config'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Sonarr - TV

Sonarr is a TV show scheduling and searching download program. It will take a list of shows you enjoy, search via Jackett, and add them to the qbittorrent downloads queue.


<span style="color:#323232;">sonarr:
</span><span style="color:#323232;">    container_name: sonarr
</span><span style="color:#323232;">    image: linuxserver/sonarr
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '8989:8989'
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/sonarr:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server:/data'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Radarr - Movies

Sonarr but for movies.


<span style="color:#323232;">radarr:
</span><span style="color:#323232;">    container_name: radarr
</span><span style="color:#323232;">    image: linuxserver/radarr
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '7878:7878'
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/radarr:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server:/data'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Lidarr - Music


<span style="color:#323232;">lidarr:
</span><span style="color:#323232;">    container_name: lidarr
</span><span style="color:#323232;">    image: ghcr.io/linuxserver/lidarr
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/liadarr:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server:/data'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '8686:8686'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Readarr - Books and AudioBooks


<span style="color:#323232;"># Notice the different port for the audiobook container
</span><span style="color:#323232;">readarr:
</span><span style="color:#323232;">    container_name: readarr
</span><span style="color:#323232;">    image: 'hotio/readarr:nightly'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '8787:8787'
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/readarr:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server:/data'
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">
</span><span style="color:#323232;">readarr-audio-books:
</span><span style="color:#323232;">    container_name: readarr-audio-books
</span><span style="color:#323232;">    image: 'hotio/readarr:nightly'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '8786:8787'
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/readarr-audio-books:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server:/data'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Bazarr - Subtitles


<span style="color:#323232;">bazarr:
</span><span style="color:#323232;">    container_name: bazarr
</span><span style="color:#323232;">    image: ghcr.io/linuxserver/bazarr
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/bazarr:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server:/data'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '6767:6767'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Jellyfin

I personally only use jellyfin because it’s completely free. I still have plex installed because overseerr which is used to request movies and tv shows require plex. But that’s the only role plex has in my setup.

I will talk about the devices section later on.

For the media volume you only need to provide access to the /data/media directory instead of /data as jellyfin doesn’t need to know about the torrents.


<span style="color:#323232;">jellyfin:
</span><span style="color:#323232;">    container_name: jellyfin
</span><span style="color:#323232;">    image: ghcr.io/linuxserver/jellyfin
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '8096:8096'
</span><span style="color:#323232;">    devices:
</span><span style="color:#323232;">      - '/dev/dri/renderD128:/dev/dri/renderD128'
</span><span style="color:#323232;">      - '/dev/dri/card0:/dev/dri/card0'
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/jellyfin:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server/media:/data/media'
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">
</span><span style="color:#323232;">plex:
</span><span style="color:#323232;">    container_name: plex
</span><span style="color:#323232;">    image: ghcr.io/linuxserver/plex
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '32400:32400'
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">      - VERSION=docker
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/plex:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server/media:/data/media'
</span><span style="color:#323232;">    devices:
</span><span style="color:#323232;">      - '/dev/dri/renderD128:/dev/dri/renderD128'
</span><span style="color:#323232;">      - '/dev/dri/card0:/dev/dri/card0'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Overseer/Ombi - Requesting Movies and TV shows

I use both. You can use ombi only if you don’t plan to install plex.


<span style="color:#323232;">ombi:
</span><span style="color:#323232;">    container_name: ombi
</span><span style="color:#323232;">    image: ghcr.io/linuxserver/ombi
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/ombi:/config'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '3579:3579'
</span><span style="color:#323232;">    restart: unless-stopped
</span><span style="color:#323232;">
</span><span style="color:#323232;">overseerr:
</span><span style="color:#323232;">    container_name: overseerr
</span><span style="color:#323232;">    image: ghcr.io/linuxserver/overseerr
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/overseerr:/config'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '5055:5055'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Qbittorrent - Torrent downloader

I use qflood container. Flood provides a nice UI and this image automatically manages the connection between qbittorrent and flood.

Qbittorrent only needs access to torrent directory, and not the complete data directory.


<span style="color:#323232;">qflood:
</span><span style="color:#323232;">    container_name: qflood
</span><span style="color:#323232;">    image: hotio/qflood
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - "8080:8080"
</span><span style="color:#323232;">      - "3005:3000"
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - UMASK=002
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">      - FLOOD_AUTH=false
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/qflood:/config'
</span><span style="color:#323232;">      - '/home/${USER}/server/torrents:/data/torrents'
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Heimdall - Dashboard

There are multiple dashboard applications but I use Heimdall.


<span style="color:#323232;">heimdall:
</span><span style="color:#323232;">    container_name: heimdall
</span><span style="color:#323232;">    image: ghcr.io/linuxserver/heimdall
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - '/home/${USER}/server/configs/heimdall:/config'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - 8090:80
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Flaresolverr - Solves cloudflare captcha

If your indexers use captcha, you will need flaresolverr for them.


<span style="color:#323232;">flaresolverr:
</span><span style="color:#323232;">    container_name: flaresolverr
</span><span style="color:#323232;">    image: 'ghcr.io/flaresolverr/flaresolverr:latest'
</span><span style="color:#323232;">    ports:
</span><span style="color:#323232;">      - '8191:8191'
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      - PUID=1000
</span><span style="color:#323232;">      - PGID=1000
</span><span style="color:#323232;">      - TZ=Asia/Kolkata
</span><span style="color:#323232;">    restart: unless-stopped
</span>

Transcoding

As I mentioned in the jellyfin section there is a section in the conmpose file as “devices”. It is used for transcoding. If you don’t include that section, whenever transcoding happens it will only use CPU. In order to utilise your gpu the devices must be passed on to the container.

https://jellyfin.org/docs/general/administration/hardware-acceleration.html Read up this guide to setup hardware acceleration for your gpu.

Generally, the devices are same for intel gpu transcoding.


<span style="color:#323232;">devices:
</span><span style="color:#323232;">      - '/dev/dri/renderD128:/dev/dri/renderD128'
</span><span style="color:#323232;">      - '/dev/dri/card0:/dev/dri/card0'
</span>

To monitor the gpu usage install intel-gpu-tools


<span style="color:#323232;">sudo apt install intel-gpu-tools
</span>

Now, create a compose file for media server.


<span style="color:#323232;">mkdir ~/server/compose/media-server
</span><span style="color:#323232;">vi ~/server/compose/media-server/docker-compose.yml
</span>

And copy all the containers you want to use under services. Remember to add the version string just like adguard home compose file.

Configuring the docker stack

Start the containers using the same command we used to start the adguard home container.


<span style="color:#323232;">docker-compose up -d
</span>

Jackett

Navigate to YOUR_SERVER_IP:9117

Add a few indexers to jackett using the “add indexer” button. You can see the indexers I use in the image below.

Indexers

Qbittorrent

Navigate to YOUR_SERVER_IP:8080

The default username is admin and password adminadmin. You can change the user and password by going to Tools → Options → WebUI

Change “Default Save Path” in WebUI section to /data/torrents/ and “Keep incomplete torrents in” to /data/torrents/incomplete/

Create categories by right clicking on sidebar under category. Type category as TV and path as tv. Path needs to be same as the folder you created to store your media. Similarly for movies type Movies as category and path as movies. This will enable to automatically move the media to its correct folder.

Sonarr

Navigate to YOUR_SERVER_IP:8989

  • Under “Download Clients” add qbittorrent. Enter the host as YOUR_SERVER_IP port as **8080,** and the username and password you used for qbittorrent. In category type TV (or whatever you selected as category name(not path) on qbittorent). Test the connection and then save.
  • Under indexers, for each indexer you added in Jackett
    • Click on add button
    • Select Torzab
    • Copy the tornzab feed for the indexer from jackett
    • Copy the api key from jackett
    • Select the categories you want
    • Test and save
  • Under general, define the root folder as /data/media/tv

Repeat this process for Radarr, Lidarr and readarr.

Use /data/media/movies as root for Radarr and so on.

The setup for ombi/overseerr is super simple. Just hit the url and follow the on screen instructions.

Bazarr

Navigate to YOUR_SERVER_IP:6767

Go to settings and then sonarr. Enter the host as YOUR_SERVER_IP port as 8989. Copy the api key from sonarr settings→general.

Similarly for radarr, enter the host as YOUR_SERVER_IP port as 7878. Copy the api key from radarr settings→general.

Jellyfin

Go to YOUR_SERVER_IP:8096

  • Add all the libraries by selecting content type and then giving a name for that library. Select the particular library location from /data/media. Repeat this for movies, tv, music, books and audiobooks.
  • Go to dashboard→playback, and enable transcoding by selecting as VAAPI and enter the device as /dev/dri/renderD128

Monitor GPU usage while playing content using


<span style="color:#323232;">sudo intel_gpu_top
</span>

Heimdall

Navigate to YOUR_SERVER_IP:8090

Setup all the services you use so you don’t need to remember the ports like I showed in the first screenshot.

Updating docker images

With docker compose updates are very easy.

  • Navigate to the compose file directory ~/server/compose/media-server.
  • Then docker-compose pull to download the latest images.
  • And finally docker-compose up -d to use the latest images.
  • Remove old images by docker system prune -a

What’s next

  • You can setup VPN if torrents are blocked by your ISP/Country. I wanted to keep this guide simple and I don’t use VPN for my server, so I have left out the VPN part.
  • You can read about port forwarding to access your server over the internet.
Konraddo,

I purchased my first NAS a few months ago and I had zero knowledge of self hosting and zero knowledge of Linux. I did manage to install all of these applications but, as suggested by tutorials I read, also installed Portainer because using docker in a command line method was just way too difficult. I’m quite sure I wouldn’t be able to set up anything without a GUI.

dillydogg,

Why not just use yams.media

db0,
@db0@lemmy.dbzer0.com avatar

write a guide for it!

lemming741,

Unsolicited plug for audiobookshelf- runs in a browser, supports multiple users, multiple libraries, and user-friendly, in active development too!

www.audiobookshelf.org/docs#intro

Separate instances of readarr for audio and text was a let-down for me. I just grab the torrent from MAM, and move it to the library folder from transmission remote. ABS picks it up when it’s finished. We don’t do THAT many books to make readarr worth it.

Corgana,
@Corgana@startrek.website avatar

Great guide, total newbies might want to look into something like CasaOS too just for simplicity’s sake.

Yerbouti,

Tanks, that’s a really detailed guide. Would it also work as a home server for Nextcloud? I wanna ditch the Google office suite.

ChillPill,
@ChillPill@lemmy.world avatar

I run the snap version of nextcloud in an ubuntu VM. I know snap gets a lot of flac, but I have a day job and I don’t want to spend all my time trying to keep nextcloud running.

yetanotheruser,

Brilliant guide, thank you!

dan,
@dan@upvote.au avatar

For AdGuard Home, I’d recommend running it on two servers so that your internet doesn’t break when one of the servers is down (eg for maintenance, upgrades, etc). It runs well on a Raspberry Pi. You can use AdGuardHome-Sync to keep the config in sync between the two servers.

Dave,
@Dave@lemmy.nz avatar

How do you get your DNS to point to the live one?

In my experience, the router’s primary DNS server is not used first, then the secondary. Rather your device just sends half of the requests to each. If you run two and one is down, every second request fails. Unless you can run a load balancer, but then you’re back to a single point of failure.

SciPiTie,

The client does a fallback if one dns doesn’t answer. That’s why dns ad blockers fail if 8.8.8.8 or some other dns is added as a secondary :)

Dave,
@Dave@lemmy.nz avatar

Hmm I’ve definitely see clients just say no when the first fails. How do they tell the router to try the other one? Does the router send both DNS servers to the client or does the client request a lookup from the router? Maybe my router sucks.

SciPiTie,

The router is not directly involved in a dns query except, we’ll, the routing if it’s an non local IP. The DNS ip addresses is propagated either via dhcp together with the clients or directly configured in the client. That said: most routers serve as dhcp server at the same time. Perhaps your router is configured to always provide your ISPs DNS as primary.

How the client handles the decision which to query I honestly don’t know and I guess that’s why you and I made different experiences!

Dave,
@Dave@lemmy.nz avatar

My router is configured with both primary and secondary DNS pointing to my pihole, but in the past I’ve had one valid and one invalid one and the DNS lookup would fail approx half the time. It was a few years ago (but not that many). I wonder what was up with that.

dan,
@dan@upvote.au avatar

If one of them fails, the client falls back to the other one. That’s the main reason why you can configure two. I think you’re right that some OSes / devices send half the queries to each server (that’s what I’m seeing too) but the fallback logic is still there too.

original_reader,

Bookmarked, you superstar! 🌟

RememberTheApollo_,

How is adguard vs PiHole? I’m running pihole now…worth changing for any reason?

wavebeam,
@wavebeam@lemmy.world avatar

I’d also like to know this. Pi-hole has been pretty great.

dan,
@dan@upvote.au avatar

AdGuard Home supports DNS over HTTPS and uses it by default (via Quad9). This encrypts your DNS requests and ensures your ISP can’t collect the queries or modify the responses. Some ISPs build an advertising profile for you based on the sites you visit, even if you use third-party DNS like Cloudflare’s 1.1.1.1 or Google’s 8.8.8.8. Using encrypted DNS prevents them from doing this.

You can use DNS over HTTPS with PiHole but it’s a lot of manual work to set it up. With AdGuard Home, you just enter the DNS server URL in the web UI, and that’s it.

RememberTheApollo_,

Thank you for the answer, I appreciate it.

Fuck_u_spez_,

I’m going to take this opportunity to plug nzb360 again for mobile management of most of this if you’re an Android user.

play.google.com/store/apps/details?id=com.kevinfo…

MoonlitSanguine,

Is there something similar on fDroid?

morriscox,

I have Tailscale setup as the primary connection with my local SSID as secondary. Works great and the Pro version is worth it.

Petter1,

Looks great, did you compare it to LunaSea? If yes, are there pos/cons? I can’t test because I’m on iOS right now, but would be nice to know

Shepy,

Great guide, two things though

I notice you mention Prowlarr, I’d probably suggest it and jackett - i ran both for a while then dropped Jackett as all my matches were coming through Prowlarr and its just less admin to add sources there once and have them add to the rest of the servarr apps

Also, you might want to look at www.audiobookshelf.org - A great plex like app for streaming audiobooks specifically

electric_nan,

Nice guide! Upvoted even though I hate docker ;)

maxprime,

What don’t you like about docker?

electric_nan,

I have just never been able to wrap my head around it. I have tried a couple projects like Dockstarter before and found them too confusing. The easiest media setup I’ve found so far is Swizzin community edition, which is not docker based.

BastingChemina,

For remote access I would recommend using Tailscale or the self-hosted equivalent Headscale.

It’s extremely easy to set up and much more secure than opening ports.

Here is the instructions to install and setup Tailscale tailscale.com/download/

Fuck_u_spez_,

Is Headscale comparable to NetBird?

possiblylinux127,

Or you could use ssh or a vpn

dan, (edited )
@dan@upvote.au avatar

Tailscale is a VPN. It’s built on top of Wireguard but simplifies/automates the configuration. It gives you a mesh VPN without having to configure the mesh manually - with regular Wireguard you’d have to add each peer to every other peer’s config manually.

It provides NAT traversal too where needed (for example, if your network doesn’t have native IPv6).

possiblylinux127,

I’m aware that tailscale is a vendor locked version of wireguard. However, that doesn’t change the fact that ssh is sometimes the easiest way to get remote access.

If you want to take the wireguard route you can either setup wireguard yourself or use something like netbird.

deweydecibel,

People suggest this all the time, but it’s only useful if you’re the only one who is going to be accessing your library externally. Otherwise you have to get family or friends who you let access your server to use it anytime they want to stream, and that’s far easier said than done. They have to know what they’re doing.

It also means they can’t stream on their smart TVs or streaming boxes. You know, the things most people will want to watch this content on.

ahto,

Since you only use Plex because of overseerr: There is a fork called Jellyseer that is compatible with Jellyfin. Haven’t tried it yet but it may be worth looking into.

BastingChemina,

I’m running jellyseerr and jellyfin and it’s running well. I find that it’s less headaches than Plex.

gdog05,

It’s a brilliant combo, imho. Jellyseer is wonderfully done.

the_q,

Thanks for taking the time to make this!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • PowerRangers
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • vwfavf
  • hgfsjryuu7
  • Youngstown
  • slotface
  • everett
  • rosin
  • ngwrru68w68
  • kavyap
  • tsrsr
  • tacticalgear
  • cubers
  • cisconetworking
  • Durango
  • tester
  • InstantRegret
  • osvaldo12
  • khanakhh
  • mdbf
  • modclub
  • normalnudes
  • GTA5RPClips
  • ethstaker
  • Leos
  • anitta
  • All magazines