fix: make VPN container more resilient by persisting port and restart on healthcheck failure

This commit is contained in:
Adrien Poupa 2023-03-26 16:54:01 -04:00
parent 75b89f7709
commit a264ad6506

View File

@ -120,7 +120,9 @@ services:
- PASS=${PIA_PASS} - PASS=${PIA_PASS}
- LOCAL_NETWORK=${PIA_LOCAL_NETWORK} - LOCAL_NETWORK=${PIA_LOCAL_NETWORK}
- PORT_FORWARDING=1 - PORT_FORWARDING=1
- PORT_PERSIST=1
- PORT_SCRIPT=/pia-shared/portupdate-qbittorrent.sh - PORT_SCRIPT=/pia-shared/portupdate-qbittorrent.sh
- EXIT_ON_FATAL=1
sysctls: sysctls:
- net.ipv4.conf.all.src_valid_mark=1 - net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.default.disable_ipv6=1 - net.ipv6.conf.default.disable_ipv6=1