Did you initially run sudo docker-compose up without a -d at the end to see what the output was? If you see any entries in the logs at that point relating to certificate errors then that is likely the issue.
Yes, I did run docker initially without -d. I can however login to my teslamate on all other devices except for the browser in my Tesla M3.
What is the solution to these certificate errors?