unRAID: How to set up the Plex container
Now that I have unRaid up and running, in this post I am going to discuss how I went about adding the Plex container in unRAID 6. It’s a fairly straightforward process and didn’t cause me many headaches thankfully. I was originally running the server from my desktop but that wasn’t an ideal solution because I don’t leave my desktop on all the time.
The first step involved here was enabling Docker. If you’re not familiar with what Docker is, then take a look at my post where I explained how the application server works in unRAID.
To do this you simply navigate to the Settings tab, click Docker, and then use the drop down menu to enable Docker. PlexMediaServer is one of the default docket templates that comes packaged by lime-technology in unRAID 6. Navigate to the new Docker tab and you will see a section named ‘Add container’. From there you want to choose ‘PlexMediaServer’ under the limetech heading.
There is only one required folder named ‘config’ for this docker but you’re going to want add more. The config folder does exactly what it says on the tin – Stores the configuration settings for this particular docker. I originally made the silly mistake of pointing this folder to a directory on the flash drive running unRAID. As soon as I rebooted the server I lost all the configuration I had spent the previous setting up – bummer. So for this directory you’re going to want to specify a directory on the array. I created a folder called ‘DockerConfig’.
In order to add any media you will also need to specify these directories too. I added one named /movies pointing to /mnt/user/Movies and another named /series pointing to /mnt/user/Series.
All that is left now it to allow unRAID to create the docker container. Simple as.
There wasn’t a whole lot of configuration required with Plex assuming you only want to use it locally within your home. If you plan on streaming media externally you will need to setup remote access. There are three steps required in doing this. The first step required is to sign into your Plex account, assuming you created one. If not you will need to register an account. The second is port forwarding – By default Plex will use port 32400 but you can specify another port if you prefer. You will need to forward this port to the IP of your server. Lastly you need to edit the settings of your plex server for remote access and manually specify whatever port you chose by ticking the box to manually specify.