fix(gost): simplify healthcheck to tcp port check

This commit is contained in:
Yury Kossakovsky
2025-12-21 15:52:28 -07:00
parent 25680c2b2a
commit 5def4cf4db

View File

@@ -360,9 +360,9 @@ services:
- "-F"
- "${GOST_UPSTREAM_PROXY}"
healthcheck:
test: ["CMD-SHELL", "http_proxy=http://${GOST_USERNAME}:${GOST_PASSWORD}@localhost:8080 wget -qO- -Y on http://httpbin.org/ip >/dev/null 2>&1 || exit 1"]
test: ["CMD-SHELL", "nc -z localhost 8080 || exit 1"]
interval: 60s
timeout: 15s
timeout: 10s
retries: 3
start_period: 10s
logging: