mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
fix(gost): simplify healthcheck to tcp port check
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user