\#50: adds profile no-vpn for installing media-stack without VPN

Signed-off-by: Navratan Lal Gupta <navilg0409@gmail.com>
This commit is contained in:
Navratan Lal Gupta 2024-07-28 11:37:56 +05:30
parent 9be9267481
commit a1c7dacb3a
No known key found for this signature in database
2 changed files with 15 additions and 11 deletions

View File

@ -14,21 +14,18 @@ Stack include VPN, Radarr, Sonarr, Prowlarr, qBittorrent, Jellyseerr and Jellyfi
## Install media stack ## 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. There are two ways this stack can be deployed.
1. With a VPN (Recommended) 1. With a VPN (Recommended)
2. Without a VPN 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 Before we deploy the stack, We must create docker network first
```bash ```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. To deploy the stack without VPN (highly discouraged), Run below command.
```bash ```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 # docker compose -f docker-compose-nginx.yml up -d # OPTIONAL to use Nginx as reverse proxy
``` ```

View File

@ -55,6 +55,7 @@ services:
## Default credentials of qBittorrent - Username: admin password: adminadmin ## ## Default credentials of qBittorrent - Username: admin password: adminadmin ##
## Change password after install from UI --> Tools --> Options --> WebUI ## ## Change password after install from UI --> Tools --> Options --> WebUI ##
qbittorrent: qbittorrent:
profiles: ["vpn", "no-vpn"]
container_name: qbittorrent container_name: qbittorrent
image: lscr.io/linuxserver/qbittorrent:4.6.5 image: lscr.io/linuxserver/qbittorrent:4.6.5
@ -86,6 +87,7 @@ services:
restart: "unless-stopped" restart: "unless-stopped"
radarr: radarr:
profiles: ["vpn", "no-vpn"]
container_name: radarr container_name: radarr
image: lscr.io/linuxserver/radarr:5.7.0 image: lscr.io/linuxserver/radarr:5.7.0
networks: networks:
@ -105,6 +107,7 @@ services:
restart: "unless-stopped" restart: "unless-stopped"
sonarr: sonarr:
profiles: ["vpn", "no-vpn"]
image: linuxserver/sonarr:4.0.8 image: linuxserver/sonarr:4.0.8
container_name: sonarr container_name: sonarr
networks: networks:
@ -124,6 +127,7 @@ services:
restart: unless-stopped restart: unless-stopped
prowlarr: prowlarr:
profiles: ["vpn", "no-vpn"]
container_name: prowlarr container_name: prowlarr
image: linuxserver/prowlarr:1.20.1 image: linuxserver/prowlarr:1.20.1
@ -147,6 +151,7 @@ services:
restart: unless-stopped restart: unless-stopped
jellyseerr: jellyseerr:
profiles: ["vpn", "no-vpn"]
image: fallenbagel/jellyseerr:1.9.2 image: fallenbagel/jellyseerr:1.9.2
container_name: jellyseerr container_name: jellyseerr
networks: networks:
@ -162,6 +167,7 @@ services:
restart: unless-stopped restart: unless-stopped
jellyfin: jellyfin:
profiles: ["vpn", "no-vpn"]
image: linuxserver/jellyfin:10.9.8 image: linuxserver/jellyfin:10.9.8
container_name: jellyfin container_name: jellyfin
networks: networks:
@ -183,6 +189,7 @@ services:
# Doc: https://github.com/navilg/cleanmyarr # Doc: https://github.com/navilg/cleanmyarr
# cleanmyarr: # cleanmyarr:
# profiles: ["vpn", "no-vpn"]
# depends_on: # depends_on:
# - radarr # - radarr
# - sonarr # - sonarr