When the check is successful the container is going to be marked as healthy. until finally then it will remain in an unhealthy point out.
g. enables a method to safely and securely pass that details on the container https://www.ralantech.com/postgresql-database-health-check-consulting-service/