diff --git a/Apps/Plex/docker-compose.yml b/Apps/Plex/docker-compose.yml index 605e3f364..4e4cae163 100644 --- a/Apps/Plex/docker-compose.yml +++ b/Apps/Plex/docker-compose.yml @@ -8,11 +8,14 @@ services: PGID: $PGID PUID: $PUID VERSION: docker - image: linuxserver/plex:1.40.1 + image: lscr.io/linuxserver/plex:1.40.5 deploy: resources: reservations: memory: "256M" + devices: + - capabilities: + - gpu network_mode: host restart: unless-stopped volumes: @@ -91,6 +94,10 @@ x-casaos: 4. click 'Add Library' 5. select your media type, and specify the path, such as /Media, where your media files are stored for Plex to catalog and include in your library. + Accelerated with nvidia gpu + + Please add an environment variable `NVIDIA_VISIBLE_DEVICES=all` to enable hardware acceleration + zh_cn: | ## Plex @@ -106,6 +113,10 @@ x-casaos: 4. 点击“添加库”。 5. 选择您的媒体类型,并指定路径,例如 /Media,Plex 将存储和编目您的媒体文件,并将其包含在您的库中。 + 使用英伟达 gpu 进行转码加速 + + 请在环境变量中添加 `NVIDIA_VISIBLE_DEVICES=all` 启用硬件加速 + title: en_us: Plex index: /web/index.html