How to expose XMPP in docker installed jitsi

I’ve installed Jitsi from official docker-compose. At the same time, I want to run XMPP on my server. Since Jitsi already has XMPP for internal use and documentation mention opening Prosody to outside world, I wanted to use it as my XMPP server. Can someone guide me or point to some tutorial how to make it work?