When you use docker to run postgresql (ex, postgres:14.5-bullseye) and enabled healthcheck, you might get health status from docker compose ps, but you might see error messages in your docker log.
healthcheck
docker compose ps
Sample docker-compose.yml:
Recent comments