Compare commits
10 Commits
936f42a0b9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
8f0c7125f9
|
|||
|
5b21c5f5a9
|
|||
|
07db38aacc
|
|||
|
9abee4860f
|
|||
|
6de313122a
|
|||
|
734edf5618
|
|||
|
d681cdf7ec
|
|||
|
aef6221d33
|
|||
|
8b574eaa58
|
|||
|
9a53c5dd9a
|
42
compose.yaml
42
compose.yaml
@@ -55,18 +55,22 @@ services:
|
||||
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
|
||||
@@ -94,17 +98,18 @@ services:
|
||||
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
|
||||
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
|
||||
@@ -117,7 +122,6 @@ services:
|
||||
soft: 32768
|
||||
hard: 65536 # Increases allowed open files (important for high-speed torrenting)
|
||||
|
||||
|
||||
# See the 'qBittorrent Stalls with VPN Timeout' section for more information.
|
||||
deunhealth:
|
||||
image: qmcgaw/deunhealth
|
||||
|
||||
Reference in New Issue
Block a user