From f9d1b22a7e60a790fbc2bb7d8d709dcc779095f4 Mon Sep 17 00:00:00 2001 From: Tordarus Date: Fri, 14 Jan 2022 16:44:13 +0100 Subject: [PATCH] introduced dockerhealth --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index a3f3571..d1ee002 100644 --- a/main.go +++ b/main.go @@ -15,6 +15,8 @@ import ( "strconv" "strings" "syscall" + + "git.tordarus.net/Tordarus/dockerhealth" ) var ( @@ -34,6 +36,7 @@ func main() { fileServer = http.FileServer(http.Dir(*directory)) http.HandleFunc("/", handler) + dockerhealth.Healthy = true err := http.ListenAndServe(fmt.Sprintf("%s:%d", *intf, *port), nil) if err != nil { panic(err)