feat: Test qbittorrent wit vpn.
This commit is contained in:
48
compose.yaml
48
compose.yaml
@@ -47,26 +47,26 @@ services:
|
|||||||
servarrnetwork:
|
servarrnetwork:
|
||||||
ipv4_address: 172.39.0.2
|
ipv4_address: 172.39.0.2
|
||||||
ports:
|
ports:
|
||||||
# - 8701:8701 # qbittorrent web interface
|
- 8701:8701 # qbittorrent web interface
|
||||||
# - 6881:6881 # qbittorrent torrent port
|
- 6881:6881 # qbittorrent torrent port
|
||||||
- 6789:6789 # nzbget
|
- 6789:6789 # nzbget
|
||||||
- 9696:9696 # prowlarr
|
- 9696:9696 # prowlarr
|
||||||
- 8191:8191 # flaresolver
|
- 8191:8191 # flaresolver
|
||||||
volumes:
|
volumes:
|
||||||
- ./gluetun:/gluetun
|
- ./gluetun:/gluetun
|
||||||
# Make a '.env' file in the same directory.
|
# Make a '.env' file in the same directory.
|
||||||
# env_file:
|
env_file:
|
||||||
# - .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
- VPN_SERVICE_PROVIDER=protonvpn
|
- VPN_SERVICE_PROVIDER=protonvpn
|
||||||
- VPN_TYPE=wireguard
|
- VPN_TYPE=openvpn
|
||||||
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
|
# - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
|
||||||
# - OPENVPN_USER=${OPENVPN_USER}
|
- OPENVPN_USER=${OPENVPN_USER}
|
||||||
# - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||||
- VPN_PORT_FORWARDING=on
|
- VPN_PORT_FORWARDING=on
|
||||||
|
- PORT_FORWARD_ONLY=on
|
||||||
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
|
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
|
||||||
- SERVER_CITIES=${SERVER_CITIES}
|
- SERVER_CITIES=${SERVER_CITIES}
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ping -c 1 www.google.com || exit 1
|
test: ping -c 1 www.google.com || exit 1
|
||||||
interval: 20s
|
interval: 20s
|
||||||
@@ -87,25 +87,25 @@ services:
|
|||||||
- WEBUI_PORT=8701 # must match "qbittorrent web interface" port number in gluetun's service above
|
- WEBUI_PORT=8701 # must match "qbittorrent web interface" port number in gluetun's service above
|
||||||
# - TORRENTING_PORT=${FIREWALL_VPN_INPUT_PORTS} # airvpn forwarded port, pulled from .env
|
# - TORRENTING_PORT=${FIREWALL_VPN_INPUT_PORTS} # airvpn forwarded port, pulled from .env
|
||||||
# 🔄 Port Forwarding Mod (Syncs qBittorrent with Gluetun)
|
# 🔄 Port Forwarding Mod (Syncs qBittorrent with Gluetun)
|
||||||
# - DOCKER_MODS=ghcr.io/t-anc/gsp-qbittorent-gluetun-sync-port-mod:main
|
- DOCKER_MODS=ghcr.io/t-anc/gsp-qbittorent-gluetun-sync-port-mod:main
|
||||||
# - GSP_GTN_API_KEY=${GSP_GTN_API_KEY:-randomapikey} # API key for port forwarding updates
|
- GSP_GTN_API_KEY=${GSP_GTN_API_KEY:-randomapikey} # API key for port forwarding updates
|
||||||
# - GSP_QBITTORRENT_PORT=${GSP_QBITTORRENT_PORT:-53764} # Torrenting port (auto-updated by Gluetun)
|
- GSP_QBITTORRENT_PORT=${GSP_QBITTORRENT_PORT:-53764} # Torrenting port (auto-updated by Gluetun)
|
||||||
- GSP_MINIMAL_LOGS=false # Enables full logs for debugging purposes
|
- GSP_MINIMAL_LOGS=false # Enables full logs for debugging purposes
|
||||||
volumes:
|
volumes:
|
||||||
- ./qbittorrent:/config
|
- ./qbittorrent:/config
|
||||||
- ${DATA_MOUNT}:/data
|
- ${DATA_MOUNT}:/data
|
||||||
# depends_on:
|
depends_on:
|
||||||
# gluetun:
|
gluetun:
|
||||||
# condition: service_healthy
|
condition: service_healthy
|
||||||
# restart: true
|
restart: true
|
||||||
# network_mode: service:gluetun
|
network_mode: service:gluetun
|
||||||
ports:
|
# ports:
|
||||||
- 6881:6881/tcp # qbittorrent torrent port
|
# - 6881:6881/tcp # qbittorrent torrent port
|
||||||
- 6881:6881/udp # qbittorrent torrent port
|
# - 6881:6881/udp # qbittorrent torrent port
|
||||||
- 8701:8701
|
# - 8701:8701
|
||||||
dns:
|
# dns:
|
||||||
- 1.1.1.1
|
# - 1.1.1.1
|
||||||
- 8.8.8.8
|
# - 8.8.8.8
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ping -c 1 www.google.com || exit 1
|
test: ping -c 1 www.google.com || exit 1
|
||||||
interval: 60s
|
interval: 60s
|
||||||
|
|||||||
Reference in New Issue
Block a user