From 04ec9a674814e0d6bcfe2f4f510dc10bc6080675 Mon Sep 17 00:00:00 2001 From: Jean Date: Mon, 7 Nov 2022 21:28:39 +0100 Subject: [PATCH] Plex: add port and enable host mode for networking --- .gitignore | 4 +++- services/plex-hardware-transcoding.yaml | 5 +++++ services/plex.yaml | 5 +++++ services/traefik.yaml | 4 ++-- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5657fae..369245a 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,6 @@ samples/custom*/*.yaml config.yaml services/custom/*.yaml services/custom/*.yml -services/generated/*.yaml \ No newline at end of file +services/generated/*.yaml + +authelia/* \ No newline at end of file diff --git a/services/plex-hardware-transcoding.yaml b/services/plex-hardware-transcoding.yaml index 7d8b671..5b0ddd5 100755 --- a/services/plex-hardware-transcoding.yaml +++ b/services/plex-hardware-transcoding.yaml @@ -3,11 +3,16 @@ services: image: ghcr.io/linuxserver/plex container_name: plex restart: always + network_mode: host ports: - "32400:32400" - "32400:32400/udp" - "32469:32469" - "32469:32469/udp" + - "32410:32410/udp" + - "32412:32412/udp" + - "32413:32413/udp" + - "32414:32414/udp" devices: - /dev/dri:/dev/dri # for hardware transcoding volumes: diff --git a/services/plex.yaml b/services/plex.yaml index bd66677..c78134e 100755 --- a/services/plex.yaml +++ b/services/plex.yaml @@ -3,11 +3,16 @@ services: image: ghcr.io/linuxserver/plex container_name: plex restart: always + network_mode: host ports: - "32400:32400" - "32400:32400/udp" - "32469:32469" - "32469:32469/udp" + - "32410:32410/udp" + - "32412:32412/udp" + - "32413:32413/udp" + - "32414:32414/udp" volumes: - configplex:/config - torrents:/torrents diff --git a/services/traefik.yaml b/services/traefik.yaml index b454ec1..f92cb7a 100755 --- a/services/traefik.yaml +++ b/services/traefik.yaml @@ -3,7 +3,7 @@ services: image: traefik container_name: traefik restart: always - command: + command: - --certificatesresolvers.le.acme.email=${ACME_MAIL} - --pilot.token=${PILOT_TOKEN} ports: @@ -21,4 +21,4 @@ volumes: configtraefik: driver: local-persist driver_opts: - mountpoint: $HOST_CONFIG_PATH/traefik \ No newline at end of file + mountpoint: $HOST_CONFIG_PATH/traefik