Please add the docker healthchecks into the container https://docs.docker.com/reference/compose-file/services/#healthcheck