Enhance Docker healthcheck to account for other services
Summary
Other than being a better healthcheck as a result, this would fix an issue, where currently in docker, if you turn off workhorse and nginx, your healthchecks will always fail.
We maybe should make use of runit to check health, in addition to checking the /help page if workhorse or nginx is running. This should make it easy to turn off/on the checks based on the services enabled. (if reconfigure hasn't been run yet, the healthcheck should still be failing)
Workaround
Start the Gitaly container with the following parameter to bypass the health check:
--health-cmd='openssl s_client 0.0.0.0:8075 | grep "Verify return code: 0 (ok)"' \
Edited by Renan Jefremovas de Oliveira