Back to Apps
Plex Media Server

Deploy Plex Media Server on Your Own Server

Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices.

πŸ› οΈ Developer Tools🎬 Media

Want to deploy Plex Media Server on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Plex Media Server?

Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. IMPORTANT: Plex uses ports 32400, 3005, 8324, 32469, 1900, 32410, 32412, 32412, 32413, and 32414. If any of these ports are in use, your installation will malfunction.

Self-Host Plex Media Server

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  plex:
    image: plexinc/pms-docker:1.19.2.2737-b69929dab
    environment:
      ADVERTISE_IP: http://plex.your-domain.com/
      PLEX_CLAIM: ""
      TZ: America/New_York
    volumes:
      - plex-config:/config
      - plex-transcode:/transcode
      - plex-media:/data
    ports:
      - 32400:32400
      - 3005:3005
      - 8324:8324
      - 32469:32469
      - 1900:1900
      - 32410:32410
      - 32412:32412
      - 32413:32413
      - 32414:32414
volumes:
  plex-config: {}
  plex-transcode: {}
  plex-media: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:32400

Why Self-Host Plex Media Server?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

plexinc/pms-docker:${plex_version}

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"