Project Tutorial

Plex + arr Stack in Docker

A walkthrough of how I setup my Plex server.

Step-by-Step Setup

Process of hosting and configuring Plex and arr stack services.

1. Planned the Folder Structure

I created three folders, one for Plex docker configs, one for arr stack docker configs, and one for media. The docker folder is for holding configs, logs, backups, and database files for qBittorrent, gluetun, and the arr services. The Plex folder is for storing the plex media server docker compose. Lastly, the Media folder is for storing all videos that can be accessed on Plex.

Folder structure screenshot

2. Created Docker Containers

I created two docker projects in the Synology Container Manager, one for Plex and one for everything else. The Plex project just simply runs the media server in a container. The vpnstack project runs qBittorrent, prowlarr, radarr, sonarr, and flaresolverr behind a gluetun VPN.

View Docker Compose Files
Docker containers screenshot

3. Configured Plex Libraries

Once the plex container was up and running, I visited the webUI (192.168.1.xxx:32400) and set the directory for Plex to access the media. This required me to sign in or create an account with Plex to grant access to my server.

Plex library configuration screenshot

4. Configured Sonarr, Radarr, and Prowlarr

Once the vpnstack was up and running, I went to radarr/sonarr webUIs and set the root folder in Media Management, then added qBittorrent as a download client. For prowlarr I went to the radarr/sonarr general settings and copied the API key, then pasted it in the radarr/sonarr applications in Prowlarr settings.

arr apps configuration screenshot placeholder

5. Configured qBittorrent and routed through Gluetun

Once I was able to access the qBittorrent webUI (by checking the logs for the temp password), I set a new username/password. Then I set the network interface to "tun0" which is important for routing all qBittorrent traffic through ProtonVPN. After that, I created radarr/sonarr categories and added the category names to the radarr/sonarr tags in the download client configuration.

Gluetun and qBittorrent configuration screenshot

Services Used

The core services that make up the stack.

Streaming

Plex

Self-hosted media server for organizing and watching a personal media library.

Downloads

qBittorrent

Download client connected to radarr and sonarr.

VPN

Gluetun

VPN used to isolate and route qBittorrent traffic safely.

Automation

Sonarr

TV show monitoring and organization.

Automation

Radarr

Movie monitoring and organization.

Indexers

Prowlarr

Indexer management layer that integrates with Sonarr and Radarr.

Back to Projects