From a1c7dacb3ad49048b3e0129d161232cb3871c90f Mon Sep 17 00:00:00 2001 From: Navratan Lal Gupta Date: Sun, 28 Jul 2024 11:37:56 +0530 Subject: [PATCH] \#50: adds profile no-vpn for installing media-stack without VPN Signed-off-by: Navratan Lal Gupta --- README.md | 19 ++++++++----------- docker-compose.yml | 7 +++++++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3beda55..08e9661 100644 --- a/README.md +++ b/README.md @@ -14,21 +14,18 @@ Stack include VPN, Radarr, Sonarr, Prowlarr, qBittorrent, Jellyseerr and Jellyfi ## Install media stack -> **WARNING:** Breaking changes in Jellyfin version 10.9.x. If you are upgrading from Jellyfin 10.8.x to 10.9.x, You will need to restart Jellyfin again after Jellyfin container comes up. You may also look into and re-configure your plugins, especially if you are using Jellyscrub plugin because it now directly comes with official Jellyfin build. Backup your Jellyfin before upgrading. -> Details here: -> -> https://github.com/jellyfin/jellyfin/releases/tag/v10.9.0 -> -> https://github.com/jellyfin/jellyfin/releases/tag/v10.9.1 -> -> https://github.com/jellyfin/jellyfin/releases/tag/v10.9.2 -> - There are two ways this stack can be deployed. 1. With a VPN (Recommended) 2. Without a VPN +> **NOTE:** If you are installing this stack without VPN, You must use `no-vpn` profile. This has been made mandatory to avoid accidental/unknowingly deployment of media-stack without VPN. +> Running `docker compose` command without a profile will not deploy anything. +> +> Check installation steps below. +> + + Before we deploy the stack, We must create docker network first ```bash @@ -66,7 +63,7 @@ VPN_SERVICE_PROVIDER=nordvpn OPENVPN_USER=openvpn-username OPENVPN_PASSWORD=open To deploy the stack without VPN (highly discouraged), Run below command. ```bash -docker compose up -d +docker compose --profile no-vpn up -d # docker compose -f docker-compose-nginx.yml up -d # OPTIONAL to use Nginx as reverse proxy ``` diff --git a/docker-compose.yml b/docker-compose.yml index 97fe726..3362a13 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -55,6 +55,7 @@ services: ## Default credentials of qBittorrent - Username: admin password: adminadmin ## ## Change password after install from UI --> Tools --> Options --> WebUI ## qbittorrent: + profiles: ["vpn", "no-vpn"] container_name: qbittorrent image: lscr.io/linuxserver/qbittorrent:4.6.5 @@ -86,6 +87,7 @@ services: restart: "unless-stopped" radarr: + profiles: ["vpn", "no-vpn"] container_name: radarr image: lscr.io/linuxserver/radarr:5.7.0 networks: @@ -105,6 +107,7 @@ services: restart: "unless-stopped" sonarr: + profiles: ["vpn", "no-vpn"] image: linuxserver/sonarr:4.0.8 container_name: sonarr networks: @@ -124,6 +127,7 @@ services: restart: unless-stopped prowlarr: + profiles: ["vpn", "no-vpn"] container_name: prowlarr image: linuxserver/prowlarr:1.20.1 @@ -147,6 +151,7 @@ services: restart: unless-stopped jellyseerr: + profiles: ["vpn", "no-vpn"] image: fallenbagel/jellyseerr:1.9.2 container_name: jellyseerr networks: @@ -162,6 +167,7 @@ services: restart: unless-stopped jellyfin: + profiles: ["vpn", "no-vpn"] image: linuxserver/jellyfin:10.9.8 container_name: jellyfin networks: @@ -183,6 +189,7 @@ services: # Doc: https://github.com/navilg/cleanmyarr # cleanmyarr: + # profiles: ["vpn", "no-vpn"] # depends_on: # - radarr # - sonarr