MTA with postfix with docker

I installed gitlab via docker on debian 11…

And installed and configured postfix on the debian host… This is now reachable from the container. How do I configure gitlab docker to use postfix on the host system? Thanks…

out of interest how do people setup MTA with docker… the instructions dont specify anything.