How to find out which container exited first?

I’m trying to troubleshoot a server error, running:

docker-compose ps

Shows most of the containers exited with exit code 1, and one with 124.

This however, doesn’t tell me which exited first - causing all the others to collapse as well.

I could manually inspect each container, but surely there’s a quicker way?