File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -154,11 +154,11 @@ services:
154154
155155 # Define container healthcheck to verify VPN connectivity
156156 healthcheck :
157- test : ["CMD-SHELL", "curl -s --max-time 10 https://ipinfo.io | grep -q 'ip'"] # Check if public IP is reachable
158- interval : ${GLUETUN_HEALTHCHECK_INTERVAL} # Run the check at this interval
159- timeout : ${GLUETUN_HEALTHCHECK_TIMEOUT} # Fail if it exceeds this duration
160- start_period : ${GLUETUN_HEALTHCHECK_START_PERIOD} # Grace period before checks start
161- retries : 5 # Mark as unhealthy after 5 failures
157+ test : ["CMD-SHELL", "wget -qO- https://ipinfo.io | grep -q 'ip'"] # Check if public IP is reachable
158+ interval : ${GLUETUN_HEALTHCHECK_INTERVAL} # Run the check at this interval
159+ timeout : ${GLUETUN_HEALTHCHECK_TIMEOUT} # Fail if it exceeds this duration
160+ start_period : ${GLUETUN_HEALTHCHECK_START_PERIOD} # Grace period before checks start
161+ retries : 5 # Mark as unhealthy after 5 failures
162162
163163 # Specify container service dependencies
164164 depends_on :
You canāt perform that action at this time.
0 commit comments