Finally I've found some time to setup an XMPP server. It's not finished just yet, but it's amazing how ejabbetd and conversations mostly just work.
The complexity I had was due to a custom domain setup, networking and containers.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!