Make vpn disabled by default
This commit is contained in:
parent
6e36404e23
commit
4b09dab1a7
@ -1,6 +1,8 @@
|
|||||||
version: "3.9"
|
version: "3.9"
|
||||||
name: media-stack
|
name: media-stack
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
# To use/enable VPN, Run this compose file with --profile=vpn. Its highly recommended to use VPN.
|
||||||
vpn:
|
vpn:
|
||||||
## Read https://github.com/qdm12/gluetun/wiki for details on configuring VPN for different service providers.
|
## Read https://github.com/qdm12/gluetun/wiki for details on configuring VPN for different service providers.
|
||||||
profiles: ["vpn"]
|
profiles: ["vpn"]
|
||||||
@ -13,11 +15,11 @@ services:
|
|||||||
- OPENVPN_USER=${OPENVPN_USER:-""}
|
- OPENVPN_USER=${OPENVPN_USER:-""}
|
||||||
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD:-""}
|
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD:-""}
|
||||||
|
|
||||||
## For list of server regions and countries, visit https://raw.githubusercontent.com/qdm12/gluetun/master/internal/storage/servers.json
|
## For list of server countries, visit https://raw.githubusercontent.com/qdm12/gluetun/master/internal/storage/servers.json
|
||||||
|
|
||||||
- SERVER_COUNTRIES=${SERVER_COUNTRIES:-Switzerland}
|
- SERVER_COUNTRIES=${SERVER_COUNTRIES:-Switzerland}
|
||||||
|
|
||||||
# - FREE_ONLY=on # Valid with protonvpn only. on if using free service provided by protonvpn
|
# - FREE_ONLY=on # Valid with protonvpn only. Value willbe set "on" if using free subscription provided by protonvpn
|
||||||
|
|
||||||
## Enable below if VPN_SERVICE_PROVIDER=custom
|
## Enable below if VPN_SERVICE_PROVIDER=custom
|
||||||
# - VPN_TYPE=openvpn # or wireguard.
|
# - VPN_TYPE=openvpn # or wireguard.
|
||||||
@ -33,32 +35,40 @@ services:
|
|||||||
# - WIREGUARD_PRESHARED_KEY=xOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= # Replaced with your wg pre-shared key
|
# - WIREGUARD_PRESHARED_KEY=xOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= # Replaced with your wg pre-shared key
|
||||||
# - WIREGUARD_ADDRESSES="10.64.222.21/32" # Replace with wg address
|
# - WIREGUARD_ADDRESSES="10.64.222.21/32" # Replace with wg address
|
||||||
|
|
||||||
## Enable volume if custom VPN_SERVICE_PROVIDER is used
|
## Enable volume if VPN_SERVICE_PROVIDER=custom and VPN_TYPE=openvpn is used
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /yourpath/yourconfig.conf:/gluetun/config.conf:ro
|
# - /yourpath/yourconfig.conf:/gluetun/config.conf:ro
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- mynetwork
|
- mynetwork
|
||||||
ports:
|
|
||||||
# qbittorrent ports
|
# Uncomment/enable below ports if VPN is used/enabled
|
||||||
- 5080:5080
|
# ports:
|
||||||
- 6881:6881
|
# # qbittorrent ports
|
||||||
- 6881:6881/udp
|
# - 5080:5080
|
||||||
# prowlarr ports
|
# - 6881:6881
|
||||||
- 9696:9696
|
# - 6881:6881/udp
|
||||||
|
# # prowlarr ports
|
||||||
|
# - 9696:9696
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
|
|
||||||
## Default credentials - 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:
|
||||||
container_name: qbittorrent
|
container_name: qbittorrent
|
||||||
image: lscr.io/linuxserver/qbittorrent:4.5.4
|
image: lscr.io/linuxserver/qbittorrent:4.5.4
|
||||||
# Comment this if vpn is disabled
|
|
||||||
depends_on: # Comment this line if vpn is disabled
|
# Unomment below if vpn is enabled
|
||||||
- vpn # Comment this line if vpn is disabled
|
# depends_on: # Uncomment this line if vpn is enabled
|
||||||
# networks: # Uncomment this line if vpn is disabled
|
# - vpn # Uncomment this line if vpn is enabled
|
||||||
# - mynetwork # Uncomment this line if vpn is disabled
|
|
||||||
network_mode: service:vpn # Comment this line if vpn is disabled
|
# Comment below lines if VPN is enabled
|
||||||
|
networks: # Comment this line if vpn is enabled
|
||||||
|
- mynetwork # Comment this line if vpn is enabled
|
||||||
|
|
||||||
|
# Unomment below line if vpn is enabled
|
||||||
|
# network_mode: service:vpn
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
@ -68,12 +78,13 @@ services:
|
|||||||
- qbittorrent-config:/config
|
- qbittorrent-config:/config
|
||||||
- torrent-downloads:/downloads
|
- torrent-downloads:/downloads
|
||||||
|
|
||||||
## Uncomment below ports if VPN is disabled.
|
## Comment/Disable below ports if VPN is enabled
|
||||||
# ports:
|
ports:
|
||||||
# - 5080:5080
|
- 5080:5080
|
||||||
# - 6881:6881
|
- 6881:6881
|
||||||
# - 6881:6881/udp
|
- 6881:6881/udp
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
|
|
||||||
radarr:
|
radarr:
|
||||||
container_name: radarr
|
container_name: radarr
|
||||||
image: lscr.io/linuxserver/radarr:4.6.4
|
image: lscr.io/linuxserver/radarr:4.6.4
|
||||||
@ -109,21 +120,24 @@ services:
|
|||||||
prowlarr:
|
prowlarr:
|
||||||
container_name: prowlarr
|
container_name: prowlarr
|
||||||
image: linuxserver/prowlarr:1.6.3
|
image: linuxserver/prowlarr:1.6.3
|
||||||
# Comment this if vpn is disabled
|
|
||||||
depends_on: # Comment this line if vpn is disabled
|
# Uncomment below if vpn is enabled
|
||||||
- vpn # Comment this line if vpn is disabled
|
# depends_on: # Uncomment this line if vpn is enabled
|
||||||
network_mode: service:vpn # Comment this line if vpn is disabled
|
# - vpn # Uncomment this line if vpn is enabled
|
||||||
# networks: # Uncomment this line if vpn is disabled
|
# network_mode: service:vpn # Uncomment this line if vpn is enabled
|
||||||
# - mynetwork # Uncomment this line if vpn is disabled
|
|
||||||
|
networks: # Comment this line if vpn is enabled
|
||||||
|
- mynetwork # Comment this line if vpn is enabled
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
volumes:
|
volumes:
|
||||||
- prowlarr-config:/config
|
- prowlarr-config:/config
|
||||||
## Uncomment below ports if VPN is disabled.
|
|
||||||
# ports:
|
# Comment below ports if VPN is enabled.
|
||||||
# - 9696:9696
|
ports:
|
||||||
|
- 9696:9696
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
jellyfin:
|
jellyfin:
|
||||||
|
Loading…
Reference in New Issue
Block a user