Skip to main content

Plex

Plex是一款媒体服务器,拥有自动搜刮的功能,可以让你拥有一个私人的b站。支持网页播放,全平台客户端播放,拥有强大的解码能力。


version: '3'

services:

  plex:
    image: plexinc/pms-docker
    container_name: plex
    # network_mode: host
    environment:
      - PLEX_UID=1000
      - PLEX_GID=1000
      - TZ=Asia/Shanghai
    volumes:
      - ./:/config
      - <your_media_path>:/data/tvshows
      - /tmpfs/plex:/transcode
    ports:
      - 32400:32400/tcp
      - 3005:3005/tcp
      - 8324:8324/tcp
      - 32469:32469/tcp
      - 1900:1900/udp
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp
    devices:
      - /dev/dri:/dev/dri
    restart: unless-stopped