From df95a33acdeeacd9b2d344cc2550554d886eaa7e Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Thu, 27 Feb 2020 21:45:39 +0100 Subject: [PATCH] restructure IP's --- includes/organizr-conf/custom/organizr.conf | 10 +++++----- install/jackett.sh | 2 +- install/lidarr.sh | 2 +- install/radarr.sh | 2 +- install/sonarr.sh | 2 +- install/tautulli.sh | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/organizr-conf/custom/organizr.conf b/includes/organizr-conf/custom/organizr.conf index 817615c4..ad9cb378 100644 --- a/includes/organizr-conf/custom/organizr.conf +++ b/includes/organizr-conf/custom/organizr.conf @@ -47,7 +47,7 @@ location /nzbhydra/ { location /sonarr { auth_request /auth-0; add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass http://192.168.30.30:8989; + proxy_pass http://192.168.31.23:8989; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -56,7 +56,7 @@ location /sonarr { location /radarr { auth_request /auth-0; add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass http://192.168.30.31:7878; + proxy_pass http://192.168.31.24:7878; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -65,7 +65,7 @@ location /radarr { location /lidarr { auth_request /auth-0; add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass http://192.168.30.32:7878; + proxy_pass http://192.168.31.25:7878; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -74,7 +74,7 @@ location /radarr { location /jackett { auth_request /auth-0; add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass http://192.168.30.28:9117; + proxy_pass http://192.168.31.21:9117; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -118,7 +118,7 @@ if ($http_referer ~* /plex/) { location /tautulli { auth_request /auth-4; add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass http://192.168.30.27:8181; + proxy_pass http://192.168.31.26:8181; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; diff --git a/install/jackett.sh b/install/jackett.sh index 007f9917..cc550003 100755 --- a/install/jackett.sh +++ b/install/jackett.sh @@ -1,5 +1,5 @@ echo '{"pkgs":["mono","curl","ca_root_nss","nano"]}' > /tmp/pkg.json -iocage create -n "jackett" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge30" ip4_addr="vnet0|192.168.30.28/24" defaultrouter="192.168.30.1" vnet="on" allow_raw_sockets="1" boot="on" +iocage create -n "jackett" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge31" ip4_addr="vnet0|192.168.31.30/24" defaultrouter="192.168.21.1" vnet="on" allow_raw_sockets="1" boot="on" rm /tmp/pkg.json iocage exec jackett mkdir -p /config iocage fstab -a jackett /mnt/tank/apps/jackett /config nullfs rw 0 0 diff --git a/install/lidarr.sh b/install/lidarr.sh index b99ea2f8..cb5d6411 100755 --- a/install/lidarr.sh +++ b/install/lidarr.sh @@ -1,5 +1,5 @@ echo '{"pkgs":["mono","mediainfo","sqlite3","ca_root_nss","curl","chromaprint","nano"]}' > /tmp/pkg.json -iocage create -n "lidarr" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge30" ip4_addr="vnet0|192.168.30.32/24" defaultrouter="192.168.30.1" vnet="on" allow_raw_sockets="1" boot="on" +iocage create -n "lidarr" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge31" ip4_addr="vnet0|192.168.31.25/24" defaultrouter="192.168.31.1" vnet="on" allow_raw_sockets="1" boot="on" rm /tmp/pkg.json iocage exec lidarr mkdir -p /config iocage exec lidarr mkdir -p /mnt/music diff --git a/install/radarr.sh b/install/radarr.sh index 9a4facad..a8301d4e 100755 --- a/install/radarr.sh +++ b/install/radarr.sh @@ -1,5 +1,5 @@ echo '{"pkgs":["mono","mediainfo","sqlite3","ca_root_nss","curl","nano"]}' > /tmp/pkg.json -iocage create -n "radarr" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge30" ip4_addr="vnet0|192.168.30.31/24" defaultrouter="192.168.30.1" vnet="on" allow_raw_sockets="1" boot="on" +iocage create -n "radarr" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge31" ip4_addr="vnet0|192.168.31.24/24" defaultrouter="192.168.31.1" vnet="on" allow_raw_sockets="1" boot="on" rm /tmp/pkg.json iocage exec radarr mkdir -p /config iocage exec radarr mkdir -p /mnt/movies diff --git a/install/sonarr.sh b/install/sonarr.sh index 4ef3722f..3cde9083 100755 --- a/install/sonarr.sh +++ b/install/sonarr.sh @@ -1,5 +1,5 @@ echo '{"pkgs":["mono","mediainfo","sqlite3","ca_root_nss","curl","nano"]}' > /tmp/pkg.json -iocage create -n "sonarr" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge30" ip4_addr="vnet0|192.168.30.30/24" defaultrouter="192.168.30.1" vnet="on" allow_raw_sockets="1" boot="on" +iocage create -n "sonarr" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge31" ip4_addr="vnet0|192.168.31.23/24" defaultrouter="192.168.31.1" vnet="on" allow_raw_sockets="1" boot="on" rm /tmp/pkg.json iocage exec sonarr mkdir -p /config iocage exec sonarr mkdir -p /mnt/series diff --git a/install/tautulli.sh b/install/tautulli.sh index 730f7deb..ebf1f459 100755 --- a/install/tautulli.sh +++ b/install/tautulli.sh @@ -1,5 +1,5 @@ echo '{"pkgs":["python2","py27-sqlite3","py27-openssl","ca_root_nss","git","nano"]}' > /tmp/pkg.json -iocage create -n "tautulli" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge30" ip4_addr="vnet0|192.168.30.27/24" defaultrouter="192.168.30.1" vnet="on" allow_raw_sockets="1" boot="on" +iocage create -n "tautulli" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge31" ip4_addr="vnet0|192.168.31.26/24" defaultrouter="192.168.31.1" vnet="on" allow_raw_sockets="1" boot="on" rm /tmp/pkg.json iocage exec tautulli mkdir -p /config iocage fstab -a tautulli /mnt/tank/apps/tautulli /config nullfs rw 0 0