From 93c699045e4af4f8ec5d8f078f51139e5e10e7bb Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Mon, 23 Jan 2023 16:02:27 -0300 Subject: Added extra settings for Plex --- docker-compose.example.yaml | 5 +++-- install.sh | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml index f85a9c1..6af3b0b 100644 --- a/docker-compose.example.yaml +++ b/docker-compose.example.yaml @@ -5,6 +5,7 @@ services: : image: lscr.io/linuxserver/ container_name: + #network_mode: host # plex environment: - PUID= - PGID= @@ -14,7 +15,7 @@ services: - /tvshows:/data/tvshows - /config/:/config ports: - - : + - 8096:8096 restart: unless-stopped # qBitorrent is used to download torrents @@ -81,7 +82,7 @@ services: # Prowlarr is our torrent indexer/searcher. Sonarr/Radarr use Prowlarr as a # source prowlarr: - image: lscr.io/linuxserver/prowlarr:latest + image: lscr.io/linuxserver/prowlarr container_name: prowlarr environment: - PUID= diff --git a/install.sh b/install.sh index 1a333b4..0551d3f 100755 --- a/install.sh +++ b/install.sh @@ -207,7 +207,9 @@ sed -i -e "s;;$media_folder;g" $filename # Set media_service sed -i -e "s;;$media_service;g" $filename -sed -i -e "s;;$media_service_port;g" $filename +if [ $media_service == "plex" ]; then + sed -i -e "s;#network_mode: host # plex;network_mode: host # plex;g" $filename +fi # Set config folder sed -i -e "s;;$install_location;g" $filename -- cgit v1.2.3