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:
|
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:
|
||||||
|
- TZ=${TZ}
|
||||||
|
- UPDATER_PERIOD=24h
|
||||||
- VPN_SERVICE_PROVIDER=protonvpn
|
- 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}
|
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
|
||||||
# - OPENVPN_USER=${OPENVPN_USER}
|
- PORT_FORWARD_ONLY=on
|
||||||
# - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
|
||||||
- VPN_PORT_FORWARDING=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_COUNTRIES=${SERVER_COUNTRIES}
|
||||||
- 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
|
||||||
@@ -94,17 +98,18 @@ services:
|
|||||||
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
|
||||||
dns:
|
# - 8701:8701
|
||||||
- 1.1.1.1
|
# dns:
|
||||||
- 8.8.8.8
|
# - 1.1.1.1
|
||||||
|
# - 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
|
||||||
@@ -117,7 +122,6 @@ services:
|
|||||||
soft: 32768
|
soft: 32768
|
||||||
hard: 65536 # Increases allowed open files (important for high-speed torrenting)
|
hard: 65536 # Increases allowed open files (important for high-speed torrenting)
|
||||||
|
|
||||||
|
|
||||||
# See the 'qBittorrent Stalls with VPN Timeout' section for more information.
|
# See the 'qBittorrent Stalls with VPN Timeout' section for more information.
|
||||||
deunhealth:
|
deunhealth:
|
||||||
image: qmcgaw/deunhealth
|
image: qmcgaw/deunhealth
|
||||||
|
|||||||
Reference in New Issue
Block a user