Fresh docker production install without SiteURL

Your nginx container is restarting all the time, I assume this is because you did not create the SSL certificates as mentioned in the documentation.

https://docs.mattermost.com/install/install-docker.html#deploy-mattermost-on-docker-for-production-use

You will need to either manually provide the certificates or run the certbot container to generate them for you, otherwise you can use the without-nginx yaml file. The Mattermost application server’s port (8065) is not exposed to the host when the nginx container is also running.