From b4b2079167214444b7a2ada3d4345657c4127810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=AB=AD=E5=8A=9B?= Date: Mon, 19 Aug 2024 14:04:13 +0800 Subject: [PATCH] Bump plex version to 1.40.5 (#563) Bump plex version to 1.40.5 Add gpu capabilities --- Apps/Plex/docker-compose.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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