Composition of docker images consisting of Plex for video streaming, qBittorent as a BitTorrent client of choice, collection managers Sonarr for TV shows and Radarr for movies, Jackett as a proxy between Sonarr, Radarr and various torrent trackers and Bazarr for subtitles, all working together to make your home media center setup easier.
Tested on Ubuntu 21.10 for Raspberry Pi 4 Model B with external HDD.
- create new directory in a desired location (the drive needs to have a lot of free space as your movies and TV shows collection will be saved there), e.g.
mkdir /media/exdrive/media_server
- copy
docker-compose.yml
file there, e.g.cp docker-compose.yml /media/exdrive/media_server
- create new file
.env
in that directory and fill it using.env.sample
as a template - update line
cd /media/exdrive/media_server
inmedia_server.sh
file with your location, put it in/usr/bin
and make it executable usingsudo chmod +x /usr/bin/media_server.sh
- put
media_server.service
file in/etc/systemd/system
directory, update permissions usingsudo chmod 644 /etc/systemd/system/media_server.service
- check service status using
systemctl status media_server
, enable withsystemctl enable media_server
and reload systemd manager configuration with commandsystemctl daemon-reload
- (optional) update crontab to restart media server every day at 4 AM to get docker image updates (
sudo crontab -e
and add the line0 4 * * * sudo systemctl restart media_server
) - start the service using
systemctl start media_server
- visit each service's web address to configure it
All the services can be accessed using your IP address and their port. Ports can be configured in docker-compose.yml
.
- Bazarr http://localhost:6767
- Jackett http://localhost:9117
- Plex http://localhost:32400
- qBittorrent http://localhost:8080 (username: admin, password: adminadmin)
- Radarr http://localhost:7878
- Sonarr http://localhost:8989