Put prowlarr behind vpn

This commit is contained in:
Navratan Lal Gupta 2022-11-01 19:03:59 +05:30 committed by GitHub
parent 73eb0fb079
commit bf1cd77931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,9 @@ services:
container_name: qbittorrent container_name: qbittorrent
profiles: ["qbt", "stack-2"] profiles: ["qbt", "stack-2"]
image: lscr.io/linuxserver/qbittorrent:4.4.5-r0-ls219 image: lscr.io/linuxserver/qbittorrent:4.4.5-r0-ls219
# Comment this if vpn is disabled
depends_on:
- vpn
networks: networks:
- mynetwork - mynetwork
network_mode: service:vpn # Comment this line if vpn is disabled network_mode: service:vpn # Comment this line if vpn is disabled
@ -156,6 +159,10 @@ services:
profiles: ["prowlarr", "stack-2"] profiles: ["prowlarr", "stack-2"]
container_name: prowlarr container_name: prowlarr
image: linuxserver/prowlarr:develop-0.4.6.1969-ls69 image: linuxserver/prowlarr:develop-0.4.6.1969-ls69
# Comment this if vpn is disabled
depends_on:
- vpn
network_mode: service:vpn # Comment this line if vpn is disabled
networks: networks:
- mynetwork - mynetwork
environment: environment: