Health checks can only be set for web components.
Sometimes applications do not expose a public web interface, but they can still provide health checks through HTTP or TCP.
The expectation is that failing the health check would cause the container to be restarted.