How do I set up Stalwart (docker) behind Caddy (docker)?

Apparently, with the Caddyfile that I showed in my previous post, the Stalwart container is working normally.
All HTTPS communication destined for mail.mydomain.com is delivered directly to the Stalwart container.
This way, Stalwart obtains and maintains its own certificates automatically, without interference from Caddy.
I still haven’t been able to make either a Bulwark container or a Roundcube container work with the Stalwart container. I thought it would be very simple but it didn’t work.
I haven’t had much time lately to continue testing Stalwart.
I noticed a data discrepancy in the Stalwart dashboards.
You can see some screenshots in this thread: Data on the dashboard doesn't match
@Montreal If you need any specific information, let me know and I’ll respond as soon as I can.