From 4a576699f4cde9a7c0a7c8ed2cb4725423eebbdf Mon Sep 17 00:00:00 2001 From: tan-docker Date: Tue, 28 Jul 2026 22:30:01 +0200 Subject: [PATCH] auto backup 2026-07-28_22:30:01 --- 12_torrent/docker-compose.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/12_torrent/docker-compose.yml b/12_torrent/docker-compose.yml index effc3b9..8750dae 100644 --- a/12_torrent/docker-compose.yml +++ b/12_torrent/docker-compose.yml @@ -1,26 +1,20 @@ services: wireguard: - build: - context: . - dockerfile: Dockerfile + image: thrnz/docker-wireguard-pia:latest restart: unless-stopped cap_add: - NET_ADMIN devices: - /dev/net/tun:/dev/net/tun + sysctls: + net.ipv4.conf.all.src_valid_mark: "1" environment: - PIA_USER: ${PIA_USER} - PIA_PASS: ${PIA_PASSWORD} - PIA_PF: "true" - PIA_DNS: "true" - PIA_CONNECT: "true" - VPN_PROTOCOL: wireguard - DISABLE_IPV6: "yes" - AUTOCONNECT: "false" - PREFERRED_REGION: ${PIA_SERVER_NAME} - TZ: Europe/Paris - volumes: - - /home/docker/DenGate/pia-manual:/opt/piavpn-manual + LOC: belgium + USER: ${PIA_USER} + PASS: ${PIA_PASSWORD} + KEEPALIVE: "25" + PORT_FORWARDING: "1" + WG_FILES: "1" ports: - 6881:6881 - 6881:6881/udp