From 1042fe3a17597b23ade23d236b6c06b3979fdaaf Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 22 Jun 2021 14:22:17 +0200 Subject: [PATCH] remove dnsmasq debug info --- packages/health-check/Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index d018fd4a..3fd26408 100644 --- a/packages/health-check/Dockerfile +++ b/packages/health-check/Dockerfile @@ -18,14 +18,13 @@ COPY cli cli EXPOSE 3100 ENV NODE_ENV production -# 1. alias siasky.net with current server ip to ommit load balancer -# 2. prepend dnsmasq nameserver so it tries to resolve first -# 3. start dnsmasq in the background -# 4. start crond in the background -# 5. start the health-check api service +# 1. prepend dnsmasq nameserver so it tries to resolve first +# 2. start dnsmasq in the background and alias siasky.net with current server ip to ommit load balancer +# 3. start crond in the background +# 4. start the health-check api service CMD [ "sh", "-c", \ "echo -e \"nameserver 127.0.0.1\n$(cat /etc/resolv.conf)\" > /etc/resolv.conf ; \ - dnsmasq --strict-order --log-debug --no-resolv --log-queries --log-facility=/var/log/dnsmasq.log --address=/siasky.net/$(node src/whatismyip.js) ; \ + dnsmasq --strict-order --no-resolv --address=/siasky.net/$(node src/whatismyip.js) ; \ crond ; \ node --max-http-header-size=64000 src/index.js" \ ]