HTPC – Ultimate Media Server on Docker

Published by matt@mattshore.co.uk on

Notes – Ubuntu and Docker need to be installed first to create this ultimate HTPC server.

Setup the Environment

Lets start by creating some shares for your media server to utilise.

sudo mkdir /shares/tv
sudo mkdir /shares/movies
sudo mkdir /shares/transcode
sudo mkdir /shares/downloads
sudo mkdir /shares/music

Plex Docker Install

sudo docker create \
--name=plex \
--hostname=plex.<domain> \
--net=host \
--restart=always \
-e VERSION=latest \
-e PUID=1001 -e PGID=1001 \
-e TZ=Europe/London \
-v /home/docker/plex/config:/config \
-v /shares/tv:/shares/tv \
-v /shares/movies:/shares/movies \
-v /shares/downloads:/shares/downloads \
-v /shares/transcode:/shares/transcode \
-v /shares/music:/shares/music \
linuxserver/plex

Deluge Docker Install

sudo docker create --name deluge \
--restart=always \
--net=bridge \
-e PGID=1001 -e PUID=1001 \
-v /home/docker/deluge/config:/config \
-v /shares/tv:/shares/tv \
-v /shares/movies:/shares/movies \
-v /shares/music:/shares/music \
-v /shares/downloads:/shares/downloads \
-p 8112:8112 \
-p 58846:58846 \
linuxserver/deluge

Sonarr Docker Install

docker create \
--name sonarr \
--restart=always \
-p 8989:8989 \
-e PGID=1001 -e PUID=1001 \
-v /home/docker/sonarr/config:/config \
-v /shares/downloads:/shares/downloads \
-e TZ=Europe/London \
-v /shares/tv:/shares/tv \
linuxserver/sonarr

Radarr Docker Install

docker create \
--name=radarr \
--restart=always \
-v /home/docker/radarr:/config \
-v /shares/downloads/:/shares/downloads/ \
-v /shares/movies:/shares/movies \
-e TZ=Europe/London \
-e PGID=1001 -e PUID=1001 \
-p 7878:7878 \
linuxserver/radarr

 

Categories: AllProjects