You've already forked docker-compose-nas
mirror of
https://github.com/AdrienPoupa/docker-compose-nas.git
synced 2025-11-29 05:36:48 +02:00
feat(vpn): Use integrated healthcheck
This commit is contained in:
@@ -309,16 +309,13 @@ services:
|
|||||||
- PORT_PERSIST=1
|
- PORT_PERSIST=1
|
||||||
- PORT_SCRIPT=/pia-shared/portupdate-qbittorrent.sh
|
- PORT_SCRIPT=/pia-shared/portupdate-qbittorrent.sh
|
||||||
- FIREWALL=0
|
- FIREWALL=0
|
||||||
|
- ACTIVE_HEALTHCHECKS=1
|
||||||
|
- RECONNECT=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
|
||||||
- net.ipv6.conf.all.disable_ipv6=1
|
- net.ipv6.conf.all.disable_ipv6=1
|
||||||
- net.ipv6.conf.lo.disable_ipv6=1
|
- net.ipv6.conf.lo.disable_ipv6=1
|
||||||
healthcheck:
|
|
||||||
test: ping -c 1 www.google.com || exit 1
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
restart: always
|
restart: always
|
||||||
unpackerr:
|
unpackerr:
|
||||||
image: ghcr.io/unpackerr/unpackerr:latest
|
image: ghcr.io/unpackerr/unpackerr:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user