Docker healthcheck


#1

Request is to add curl or a basic health checker (https://blog.sixeyed.com/docker-healthchecks-why-not-to-use-curl-or-iwr/) to the docker image so that health check can be used.

Thanks!


#2

Squidex has several health endpoints: https://github.com/Squidex/squidex/blob/7e768a2443ecbedf9ff422bc6ff88e27ae8e8e4f/src/Squidex/Config/Web/WebExtensions.cs#L72

Is this what you are looking for?


#3

Well, the application has a readiness endpoint which is perfect for doing a healthcheck :slight_smile:

But the docker image needs a command that is run inside the container to call the healthcheck endpoint (e.g. ‘curl’)

I’ll do a PR here when I get a minute.


#4

I am not sure if this should be part of the default image, because environment like kubernetes have their own health system.