Practice this fail.
It exited. It has notes.
Docker · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
You are in the correct Compose project. The api service exited with code 1, and its retained output may explain why.
It exited. It has notes.
$ docker compose ps -a
SERVICE STATUS
api Exited (1)