From a264ad6506050e78c7f984e37b055cd2b1470052 Mon Sep 17 00:00:00 2001 From: Adrien Poupa Date: Sun, 26 Mar 2023 16:54:01 -0400 Subject: [PATCH] fix: make VPN container more resilient by persisting port and restart on healthcheck failure --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 68d22ec..0551a51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -120,7 +120,9 @@ services: - PASS=${PIA_PASS} - LOCAL_NETWORK=${PIA_LOCAL_NETWORK} - PORT_FORWARDING=1 + - PORT_PERSIST=1 - PORT_SCRIPT=/pia-shared/portupdate-qbittorrent.sh + - EXIT_ON_FATAL=1 sysctls: - net.ipv4.conf.all.src_valid_mark=1 - net.ipv6.conf.default.disable_ipv6=1