Plex 安装

195 阅读1分钟

About Plex

A one-stop destination to stream movies, TV shows, and music, Plex is the most comprehensive entertainment platform available today. Available on almost any device, Plex is the first-and-only streaming platform to offer free ad-supported movies, shows, and live TV together with the ability to easily search—and add to your Watchlist—any title ever made, no matter which streaming service it lives on. Using the platform as their entertainment concierge, 17 million (and growing!) monthly active users count on Plex for new discoveries and recommendations from all their favorite streaming apps, personal media libraries, and beyond.

Docker Compose

cat > docker-compose.yml <<-'EOF'
# docs: https://github.com/plexinc/pms-docker#readme
# port: 32400
# website: https://app.plex.tv/desktop
version: "3"

services:
  plex:
    image: plexinc/pms-docker
    devices:
      - /dev/dri/:/dev/dri/ # Intel Quick Sync Hardware
    ports:
      - 32400:32400 # access to the Plex Media Server
      # - 8324:8324 # controlling Plex for Roku via Plex Companion
      # - 32469:32469 # access to the Plex DLNA Server
      # - 1900:1900/udp # access to the Plex DLNA Server
      # - 32410:32410/udp # current GDM network discovery
      # - 32412:32412/udp # current GDM network discovery
      # - 32413:32413/udp # current GDM network discovery
      # - 32414:32414/udp # current GDM network discovery
    restart: unless-stopped
    volumes:
      - $PWD/plex/config/:/config/
      - $PWD/plex/transcode/:/transcode/
      - /:/data/

EOF