From 69b54657f3423cdd8c9cffaeab5e265fcbb8b98a Mon Sep 17 00:00:00 2001 From: Mostafa Ghadamyari Date: Mon, 2 Aug 2021 19:54:48 +0430 Subject: [PATCH] updated wget to not use proxies Unfortunately, docker-compose does not respect noProxy hosts defined in ~/.docker/config.json or /etc/systemd/system/docker.service.d/http-proxy.conf and always uses proxy for healthcheck which causes problems. Resolved this by updating wget to not use proxies when checking for bbb-web health. --- docker-compose.tmpl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.tmpl.yml b/docker-compose.tmpl.yml index 2e86700..0bc25ff 100644 --- a/docker-compose.tmpl.yml +++ b/docker-compose.tmpl.yml @@ -44,7 +44,7 @@ services: depends_on: - redis healthcheck: - test: wget --no-verbose --tries=1 --spider http://10.7.7.2:8090/bigbluebutton/api || exit 1 + test: wget --no-proxy --no-verbose --tries=1 --spider http://10.7.7.2:8090/bigbluebutton/api || exit 1 start_period: 2m environment: DEV_MODE: ${DEV_MODE:-}