From e8a0bd37f428cc6b48982b4db8f4d6e250327f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Tremblay=20Lefran=C3=A7ois?= Date: Tue, 26 Nov 2024 13:47:50 -0500 Subject: [PATCH 1/6] added plex logo --- public/svgs/plex.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/svgs/plex.svg diff --git a/public/svgs/plex.svg b/public/svgs/plex.svg new file mode 100644 index 000000000..872b135cf --- /dev/null +++ b/public/svgs/plex.svg @@ -0,0 +1 @@ + \ No newline at end of file From c10de805fa9ae9e6f5a56eda4f0baaf4642744bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Tremblay=20Lefran=C3=A7ois?= Date: Tue, 26 Nov 2024 13:47:58 -0500 Subject: [PATCH 2/6] first try adding ple --- templates/compose/plex.yaml | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 templates/compose/plex.yaml diff --git a/templates/compose/plex.yaml b/templates/compose/plex.yaml new file mode 100644 index 000000000..740b10c66 --- /dev/null +++ b/templates/compose/plex.yaml @@ -0,0 +1,39 @@ +# documentation: https://github.com/plexinc/pms-docker +# slogan: Plex combines free movies & TV with the best free streaming services, so there’s always more to discover. +# tags: media, server, movies, tv, music +# logo: svgs/plex.svg +# port: 32400 + +services: + plex: + image: lscr.io/linuxserver/plex:latest + ports: + - 32400:32400 + - 1900:1900/udp + - 5353:5353/udp + - 8324:8324 + - 32410:32410/udp + - 32412:32412/udp + - 32413:32413/udp + - 32414:32414/udp + - 32469:32469 + environment: + - SERVICE_FQDN_PLEX + - _APP_URL=$SERVICE_FQDN_PLEX + - SERVICE_FQDN_PLEX_32400 + - PUID=1000 + - PGID=1000 + - TZ=Europe/Madrid + - VERSION=latest + - PLEX_CLAIM=${PLEX_CLAIM} + devices: + - "/dev/dri:/dev/dri" + volumes: + - plex-config:/config + - plex-tvshows:/data/tvshows + - plex-movies:/data/movies + healthcheck: + test: ["CMD", "curl", "-f", "http://127.0.0.1:32400"] + interval: 2s + timeout: 10s + retries: 15 From 63b8dacd064d12fdd9879eb5182c7c555358902a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Tremblay=20Lefran=C3=A7ois?= Date: Tue, 26 Nov 2024 14:37:21 -0500 Subject: [PATCH 3/6] working config with claim token --- templates/compose/plex.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/compose/plex.yaml b/templates/compose/plex.yaml index 740b10c66..23df694bc 100644 --- a/templates/compose/plex.yaml +++ b/templates/compose/plex.yaml @@ -6,7 +6,7 @@ services: plex: - image: lscr.io/linuxserver/plex:latest + image: plexinc/pms-docker:latest ports: - 32400:32400 - 1900:1900/udp @@ -18,13 +18,11 @@ services: - 32414:32414/udp - 32469:32469 environment: - - SERVICE_FQDN_PLEX - - _APP_URL=$SERVICE_FQDN_PLEX - SERVICE_FQDN_PLEX_32400 + - _APP_URL=$SERVICE_FQDN_PLEX - PUID=1000 - PGID=1000 - - TZ=Europe/Madrid - - VERSION=latest + - TZ=${TZ:-America/Toronto} - PLEX_CLAIM=${PLEX_CLAIM} devices: - "/dev/dri:/dev/dri" @@ -33,7 +31,7 @@ services: - plex-tvshows:/data/tvshows - plex-movies:/data/movies healthcheck: - test: ["CMD", "curl", "-f", "http://127.0.0.1:32400"] + test: ["CMD", "curl", "-f", "http://localhost:32400/identity"] interval: 2s timeout: 10s retries: 15 From b08a1ef3f188d797efcb28db55b50a344068a615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Tremblay=20Lefran=C3=A7ois?= Date: Wed, 27 Nov 2024 08:42:02 -0500 Subject: [PATCH 4/6] removed optional ports --- templates/compose/plex.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/templates/compose/plex.yaml b/templates/compose/plex.yaml index 23df694bc..8d55ed5bc 100644 --- a/templates/compose/plex.yaml +++ b/templates/compose/plex.yaml @@ -7,16 +7,6 @@ services: plex: image: plexinc/pms-docker:latest - ports: - - 32400:32400 - - 1900:1900/udp - - 5353:5353/udp - - 8324:8324 - - 32410:32410/udp - - 32412:32412/udp - - 32413:32413/udp - - 32414:32414/udp - - 32469:32469 environment: - SERVICE_FQDN_PLEX_32400 - _APP_URL=$SERVICE_FQDN_PLEX From 2a9d9830a3f0c33ac0c51ecdb0edefc34fe76e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Tremblay=20Lefran=C3=A7ois?= Date: Mon, 2 Dec 2024 07:37:07 -0500 Subject: [PATCH 5/6] commented out devices section --- templates/compose/plex.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/compose/plex.yaml b/templates/compose/plex.yaml index 8d55ed5bc..0bc6e0334 100644 --- a/templates/compose/plex.yaml +++ b/templates/compose/plex.yaml @@ -14,8 +14,8 @@ services: - PGID=1000 - TZ=${TZ:-America/Toronto} - PLEX_CLAIM=${PLEX_CLAIM} - devices: - - "/dev/dri:/dev/dri" + #devices: + # - "/dev/dri:/dev/dri" volumes: - plex-config:/config - plex-tvshows:/data/tvshows From 60a723beb65c355150d6278b9593b7a7c19b558a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Tremblay=20Lefran=C3=A7ois?= Date: Mon, 2 Dec 2024 08:22:01 -0500 Subject: [PATCH 6/6] changed to linuxserver base image and updated doc stirng --- templates/compose/plex.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/compose/plex.yaml b/templates/compose/plex.yaml index 0bc6e0334..9ffa15224 100644 --- a/templates/compose/plex.yaml +++ b/templates/compose/plex.yaml @@ -1,12 +1,12 @@ -# documentation: https://github.com/plexinc/pms-docker -# slogan: Plex combines free movies & TV with the best free streaming services, so there’s always more to discover. +# documentation: https://docs.linuxserver.io/images/docker-plex/ +# slogan: Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. # tags: media, server, movies, tv, music # logo: svgs/plex.svg # port: 32400 services: plex: - image: plexinc/pms-docker:latest + image: lscr.io/linuxserver/plex:latest environment: - SERVICE_FQDN_PLEX_32400 - _APP_URL=$SERVICE_FQDN_PLEX @@ -18,8 +18,8 @@ services: # - "/dev/dri:/dev/dri" volumes: - plex-config:/config - - plex-tvshows:/data/tvshows - - plex-movies:/data/movies + - plex-tv:/tv + - plex-movies:/movies healthcheck: test: ["CMD", "curl", "-f", "http://localhost:32400/identity"] interval: 2s