summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.example.yaml5
-rwxr-xr-xinstall.sh4
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:
<media_service>:
image: lscr.io/linuxserver/<media_service>
container_name: <media_service>
+ #network_mode: host # plex
environment:
- PUID=<your_PUID>
- PGID=<your_PGID>
@@ -14,7 +15,7 @@ services:
- <media_folder>/tvshows:/data/tvshows
- <install_location>/config/<media_service>:/config
ports:
- - <media_service_port>:<media_service_port>
+ - 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=<your_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>;$media_folder;g" $filename
# Set media_service
sed -i -e "s;<media_service>;$media_service;g" $filename
-sed -i -e "s;<media_service_port>;$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>;$install_location;g" $filename