Plex on Ugreen NAS

Plex is a media server and streaming platform that lets you organize your personal media library and stream it to virtually any device, while also offering free movies, TV shows, live TV, and podcasts.

๐Ÿ” Key Features

NOTE: Unlike Jellyfin, Plex is only free if streaming on your local network. There is a cost if you want to stream remotely.

๐Ÿš€ Docker Installation Steps

I have two NVME SSDs installed in my DXP2800, mirrored, that I use to hold apps and docker containers. It's configured as /volume2. All of my docker containers are run from /volume2/docker

  1. In the Ugreen NAS app, open the App Center
  2. Search for "Docker"
  3. Install Docker

๐Ÿ“ Setup Plex

mkdir /volume2/docker
mkdir /volume2/docker/plex
mkdir /volume2/docker/plex/config

๐Ÿงพ Docker Compose File

In /volume2/docker/plex create docker-compose.yml

services:
  plex:
    image: linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=1000         # Replace with your actual user ID
      - PGID=1000         # Replace with your actual group ID
      - VERSION=docker
    volumes:
      - /volume2/docker/plex/config:/config
      - /volume1/Movies:/data
    devices:
      - /dev/dri:/dev/dri  # Enables Intel Quick Sync hardware transcoding
    restart: unless-stopped

NOTE: Follow this guide to setup your media folder: Plex Media Structure

In a nutshell, if /mnt/Media is where you're storing everything, you should have something like /mnt/Media/Movies, /mnt/Media/TV_Shows, etc. Under each of those you'll have a directory for each movie, TV show, etc. For example: /mnt/Movies/John_Wick_(2014) and in there would be the movie file (.mkx, etc.). Personally, I just load all my media files in /mnt/Media with a directory for each movie or show and let Plex sort it all out. This works pretty well for me.

โ–ถ๏ธ Start Plex

From within /volume2/docker/plex run:

docker compose up -d

๐Ÿ“œ View Logs

docker logs plex

๐ŸŒ Access Web Interface

Open your browser and go to http://<your-Ugreen-NAS>:32400

If you find my content useful, please consider supporting this page:

โ˜• Buy Me a Coffee