How to easily integrate a XMPP server with a Lemmy link aggregator:
Ejabberd external auth
Currently the only way to link an Ejabberd server to a Lemmy instance on the same server is to use an external auth script to directly interact with the Lemmy Postgresql database. For this you first need to expose the internal database port to the host network if you are using the standard Docker based deployment of Lemmy.
We are still looking into the best options to directly link Prosody to Lemmy. Please come back later.