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

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 its 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.
Gooey0210,

Look into jellyfin + jellyserr

CallOfTheWild,

Saving

univers3man,

As an FYI to anyone trying this, I ran into the following problems and solved them.

  1. Port 53 (DNS) was already bound to systemd-resolved. This caused the Adguard container to fail. hub.docker.com/r/adguard/adguardhomeFrom their documentation, do this. I added the commands I did below.

sudo mkdir /etc/systemd/resolved.conf.d sudo touch /etc/systemd/resolved.conf.d/adguardhome.conf sudo nano /etc/systemd/resolved.conf.d/adguardhome.conf this in and save [Resolve] DNS=127.0.0.1 DNSStubListener=no

  1. DHCP on the interface I was using on my VM was already bound to DHCP. To resolve this, set a static IP. I used the following. sudo nano /etc/netplan/00-installer-config.yaml

with the following. Make sure if your adapter isn’'t labeled ens33, you change it appropriately. network: renderer: networkd ethernets: ens33: addresses: - 192.168.1.200/24 nameservers: addresses: [192.168.1.1] routes: - to: default via: 192.168.1.1 version: 2

clericc,

the hyphened “docker-compose” cmd is deprecated and does not receive updates anymore. Use “docker compose” (as in a subcommand of the docker cli) instead. You might docker compose files that the old thing refuses.

LWJanniesRCucks,

👍👍

spacecowboy,

Can anyone assist with an issue? I get to this part of the guide: > Save the following content to the docker-compose.yml file.

I am not quite sure how to “save” it. I tried the :wq thing and it seemed to work? But then when I tried starting the contaner by inputting >docker-compose up -d

I get >usr/local/bin/docker-compose: line 1: Not: command not found

I’m stuck at this point. Any tips would be appreciated!

JokeDeity,

Saving for later, this is the way everyone, try to be more like this legend.

ILikeBoobies,

I tried a few days ago but

I couldn’t have docker containers on a separate drive

And I couldn’t get Jellyfin to attach to my port through docker. The logs didn’t show anything was going wrong though

spacecowboy,

Did you try again?

ILikeBoobies,

I have it running outside of docker; I’ll eventually try again but I had people mad that they couldn’t watch their shows as I migrated from plex

XTornado,

Any reason for not using Prowlarr?

SchizoDenji,

You can use Jellyseer and remove plex entirely. It’s a fork of overseer.

Gooey0210,

And now all of this, but in nixos 🤔

BastingChemina,

I’ve never used nixos but with nixos would it be possible to do all that with just the configuration file ?

Gooey0210,

Yes, without any docker, or with docker if you like

But really the point is not to use docker, you just write an additional configuration file for the service you want. It looks like docker-compose but shorter, and you already have everything preconfigured (db, users, storage, etc)

Docker is not safe if not ran rootless. With nixos you can write a docker-compose-like file for the service to be docker/podman/baremetal/VM/anything

And you can find all the parameters/env variables on search.nixos.org/options?channel=23.05&amp;from=0…

This search is for nextcloud, you can not only install the app and specify the login and password, but specify things like installed apps, default files, themes, which reverse proxyto use, and whether use some rules/headers/filtering

Like that nixos is the future, really

lemmyvore,

It’s going to be about as popular as Kubernetes for general use.

spacecowboy,

Is it possible to do this all on Raspberry Pi OS? I purchased an 8GB RPi 4 and it came with Buster pre-installed. I don’t have any other computer. I have no way of writing Ubuntu onto a micro SD. :/

FunderPants,

I’d like to know this too. I planned to use my laptop as the server , but I have a spare rpi4 that I would prefer.

wolfshadowheart,
@wolfshadowheart@kbin.social avatar

Yes, you can use a Pi4 to accomplish the results of this guide, I used a Pi3B+ for a few years without any major issues. However, you will not be able to follow this guide to get it set up, as Pi's are a different architecture and so you need different images for the initial setup regarding Ubuntu. Mostly everything after that will be the same though.

Just keep some spare copies of your setup mirror imaged to another SD card once you're all done and you are golden. Configure your download settings in Sonarr/Radarr to avoid 4k content, that's the only real limitation of the Pi's, outside of the SD card lifespan (solved mostly by just not logging).

@spacecowboy - not being able to write an image will make the Pi4 as a server a biiit more difficult. Do you have an android phone? There's etchdroid or Pi SD Card imager, which materials to use for can cost under $10 (you'd want the SD card reader that can plug into your phones port, for example). It's fleeting otherwise, chances are high that you will get it set up and then the SD card will die and you'd be out of luck regardless.. If the Pi is your only computer for now, then I'd keep it that way. Either way, I do highly suggest some backup SD cards, they are cheap and you rarely need more than 32gb for the operating system and basic usage - anything with heavy logging or storage should be kept on an external hard drive.

While it's possible with an android device, even maybe a library computer with permission for USB devices and temporary downloads would be a good option. It's really nice to be able to get your server all setup and then make a duplicate of the SD card, which I don't believe is possible on android. It's imperative to have a backup since SD cards do have a lifespan, using it as a main server with no backups is putting all your eggs in one basket. All it takes is forgetting to disable logging and the clock starts ticking.

It's also nice to be able to test out different operating systems, as you might find that Buster has more overhead than something like DietPi, a command line based OS, as well as being slightly less straightforward for your needs if the Pi is going to be a headless server. But like I said, if you're using the Pi as a regular computer, DietPi won't be a viable option since it has no GUI.

spacecowboy,

Thank you for this detailed response. I was able to buy a USB-stick-style SD/mSD reader/writer and a couple of 128gb cards to go with it. I have ubuntu up and running now and a backup as well. I tried following this guide but I keep running into issues around the docker compose part. I think I am in over my head at this point and will just make a local setup the way I know how and try again in the future.

Thanks for the tips about saving my bacon with multiple SD cards.

nadiaraven,

I’m working on getting this up and running on my pi 4. If I’m successful, I will post a guide

spaceaape,

I find Organizrr to be much more comprehensive dashboard. And Lol at running plex just to use overseerr but still streaming with Jelly 😂 just use Jellyseerr, delete plex/over, and save a TON of system resources.

Dhs92,

Awesome guide! I will say, Jackett isn’t maintained anymore so you should probably be recommending Prowlarr instead.

ElderWendigo,

Jackett GitHub shows activity in the last day, so I’m not sure where you got the idea that it wasn’t maintained.

Dhs92,

Hm, maybe that was purely for TrueCharts. If so, that’s my bad. However, after moving to Prowlarr I’d say it is much nicer and tends to be more reliable for my use case.

pelletbucket,

everything goes somewhere, and i go everywhere.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • piracy@lemmy.dbzer0.com
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #