Plex Setup

1. Install

2. Setup Plex Server

2.1. Claim Plex Server

  • This process will link the new Plex Server to your account

    1. Get a Claim Code

      Get code from here
      https://www.plex.tv/claim/
      You must open this web page from the server that hosts the Plex Docker container
    2. Update the compose.yml file with the Claim Code:

      environment:
        - TZ=America/New_York
        - PUID=1000
        - PGID=1000
        - PLEX_CLAIM=claim-123456789ABCDEFGHIJK (1)
        - HOSTNAME=”PlexServer”
      1 Claim Code goes here
    3. Restart the Docker Plex container quickly before the Claim Code expires in 4 minutes!

      Restart
      sudo docker-compose up -d

2.2. Configure Remote Access

  • This will allow external access to the Plex Docker Container i.e., any applications outside of the local network.

2.2.1. Configure Router

  • Configure the Router to point the External Public Port to the public port of the docker container.
    In this instance we’ll configure external public port 32401 to the docker container’s public port of 32400

    1. Connect to the Router’s administrative website

    2. Configure Port Forwarding

      Plex Setup Router

2.2.2. Configure Plex

  1. Launch Plex settings page

    Plex UI Settings
    https://app.plex.tv/desktop/#!/settings/web/general
    External access hasn’t been configured yet so open this web page from the server that hosts the Plex Docker container
  2. Currently this server has the same name as the Docker Container. Give it a more friendly name e.g., Plex-Docker

  3. Check the Allow me to access my media outside my home checkbox.

  4. Skip the Media Library setup - we can do this later.

  5. Click the Settings icon (wrench icon in upper right corner)

    Wrench Icon

  6. In the left menu, confirm that the new Plex-Docker server is selected.

    Selected Server

  7. Scroll down to Remote Access menu item. This should have a red exclamation point.

    Remote Access not Connected

  8. Click Remote Access.

  9. Click the Manually specify public port checkbox.

  10. Change the value to 32401 and click the Retry button.

  11. After a few moment a confirmation should appear.

    Remote Access Status OK

  12. And the Remote Access left menu item should have a green check mark.

    Remote Access Connected

2.3. Configure Libraries

3. Test access

  1. Launch the Desktop App

    URL
    https://app.plex.tv/desktop
    Launch from a Desktop