The 302 status code indicates that the web frontend wants you to redirect. I guess that is the redirect to the installer.
I had my troubles with the docker compose file as well and therefore used my own version. See this article for hints Feedback on the Mautic 5 docker image experience.