Implement Docker healthcheck script in Go (#7105)

Go script makes it easy to read/maintain. Also updated the timeout
in Dockerfiles from 5s to default 30s and test interval to 1m

Higher timeout makes sense as server may sometimes respond slowly
if under high load as reported in #6974

Fixes #6974
This commit is contained in:
Nitish Tiwari
2019-02-20 21:42:03 +05:30
committed by GitHub
parent ce960565b1
commit 1e82c4a7c4
7 changed files with 198 additions and 69 deletions

3
.gitignore vendored
View File

@@ -22,4 +22,5 @@ parts/
prime/
stage/
.sia_temp/
config.json
config.json
healthcheck