From 580444d58963c8dcb7fea9d41e9488bf4f9ef8c3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 5 May 2020 17:51:46 +0200 Subject: [PATCH] use 127.0.0.1 for healthcheck instead of localhost --- CHANGELOG.md | 2 +- overlay/usr/local/bin/healthcheck | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab7a86a..31851b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ * INTERNAL - * simplify repo structure and ci + * use 127.0.0.1 for healthcheck instead of localhost diff --git a/overlay/usr/local/bin/healthcheck b/overlay/usr/local/bin/healthcheck index f9c2823..4966f6b 100755 --- a/overlay/usr/local/bin/healthcheck +++ b/overlay/usr/local/bin/healthcheck @@ -2,7 +2,7 @@ set -eo pipefail -URL=http://localhost:8080 +URL=http://127.0.0.1:8080 wget --quiet --tries=1 --spider ${URL} [ $? -ne 0 ] && exit 1