openzipkin / zipkin-support

repository for support questions raised as issues
4 stars 2 forks source link

docker-healthcheck with elasticsearch #44

Open eloo opened 3 years ago

eloo commented 3 years ago

Describe the Bug

Hi, i'm curious how the docker-healtchcheck should work for elasticsearch or in general. For elasticsearch the port is fixed to 9200 also the host is localhost or hostname. Shouldn't this be something from ES_HOSTS?

Also for the general docker-healtcheck i just get an 503 Service unavailable. And i don't have a clue whats wrong. No logs. No response. the index.html is reachable.

So i really don't get it how the docker-healthcheck should work.

Tested version: 2.22.2 and 2.22.0 Last working version: 2.21.7

Steps to Reproduce

Start a zipkin instance with configured ES_HOSTS

Expected Behaviour

I would expect that the healthcheck would pass or at least give hints whats wrong.

Best regards eloo