Compare commits
8 Commits
8b574eaa58
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
8f0c7125f9
|
|||
|
5b21c5f5a9
|
|||
|
07db38aacc
|
|||
|
9abee4860f
|
|||
|
6de313122a
|
|||
|
734edf5618
|
|||
|
d681cdf7ec
|
|||
|
aef6221d33
|
52
compose.yaml
52
compose.yaml
@@ -47,26 +47,30 @@ services:
|
||||
servarrnetwork:
|
||||
ipv4_address: 172.39.0.2
|
||||
ports:
|
||||
# - 8701:8701 # qbittorrent web interface
|
||||
# - 6881:6881 # qbittorrent torrent port
|
||||
- 8701:8701 # qbittorrent web interface
|
||||
- 6881:6881 # qbittorrent torrent port
|
||||
- 6789:6789 # nzbget
|
||||
- 9696:9696 # prowlarr
|
||||
- 8191:8191 # flaresolver
|
||||
volumes:
|
||||
- ./gluetun:/gluetun
|
||||
# Make a '.env' file in the same directory.
|
||||
# env_file:
|
||||
# - .env
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
- UPDATER_PERIOD=24h
|
||||
- VPN_SERVICE_PROVIDER=protonvpn
|
||||
- VPN_TYPE=wireguard
|
||||
- VPN_TYPE=${VPN_TYPE}
|
||||
- BLOCK_MALICIOUS=off
|
||||
- OPENVPN_USER=${OPENVPN_USER}
|
||||
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||
- OPENVPN_CIPHERS=AES-256-GCM
|
||||
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
|
||||
# - OPENVPN_USER=${OPENVPN_USER}
|
||||
# - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||
- PORT_FORWARD_ONLY=on
|
||||
- VPN_PORT_FORWARDING=on
|
||||
- VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- --retry-connrefused --post-data "json={\"listen_port\":{{PORTS}}}" http://127.0.0.1:8080/api/v2/app/setPreferences 2>&1'
|
||||
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
|
||||
- SERVER_CITIES=${SERVER_CITIES}
|
||||
|
||||
healthcheck:
|
||||
test: ping -c 1 www.google.com || exit 1
|
||||
interval: 20s
|
||||
@@ -87,25 +91,25 @@ services:
|
||||
- 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
|
||||
# 🔄 Port Forwarding Mod (Syncs qBittorrent with Gluetun)
|
||||
# - 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_QBITTORRENT_PORT=${GSP_QBITTORRENT_PORT:-53764} # Torrenting port (auto-updated by Gluetun)
|
||||
- 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_QBITTORRENT_PORT=${GSP_QBITTORRENT_PORT:-53764} # Torrenting port (auto-updated by Gluetun)
|
||||
- GSP_MINIMAL_LOGS=false # Enables full logs for debugging purposes
|
||||
volumes:
|
||||
- ./qbittorrent:/config
|
||||
- ${DATA_MOUNT}:/data
|
||||
# depends_on:
|
||||
# gluetun:
|
||||
# condition: service_healthy
|
||||
# restart: true
|
||||
# network_mode: service:gluetun
|
||||
ports:
|
||||
- 6881:6881/tcp # qbittorrent torrent port
|
||||
- 6881:6881/udp # qbittorrent torrent port
|
||||
- 8701:7701
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
depends_on:
|
||||
gluetun:
|
||||
condition: service_healthy
|
||||
restart: true
|
||||
network_mode: service:gluetun
|
||||
# ports:
|
||||
# - 6881:6881/tcp # qbittorrent torrent port
|
||||
# - 6881:6881/udp # qbittorrent torrent port
|
||||
# - 8701:8701
|
||||
# dns:
|
||||
# - 1.1.1.1
|
||||
# - 8.8.8.8
|
||||
healthcheck:
|
||||
test: ping -c 1 www.google.com || exit 1
|
||||
interval: 60s
|
||||
|
||||
Reference in New Issue
Block a user