https://github.com/calcom/docker/blob/main/scripts/start.sh, would be needed to correctly probe that PostgreSQL instance is running.