Setting the health check command on Dokploy
The doc is a bit light on how to set the health check command.
I've tried many combinations and found that each component has to be its own line like below:

Also, your Docker image must have curl installed. Some JDK images e.g. eclipse-temurin:25-jdk-jammy don't have curl.
You can test the health check endpoint by opening the terminal (on Dokploy) and running curl http://localhost:9000/health-check.