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

**URL:** https://support.stalw.art/t/how-do-i-set-up-stalwart-docker-behind-caddy-docker/195
**Category:** Questions
**Created:** [May 14, 2026, 10:50pm UTC](https://support.stalw.art/t/how-do-i-set-up-stalwart-docker-behind-caddy-docker/195 "2026-05-14T22:50:51Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![peracchi](https://support.stalw.art/user_avatar/support.stalw.art/peracchi/32/168_2.png) [@peracchi](https://support.stalw.art/u/peracchi)
#### Post date: [June 10, 2026, 2:31pm UTC](https://support.stalw.art/t/how-do-i-set-up-stalwart-docker-behind-caddy-docker/195/9 "2026-06-10T14:31:50Z")

</div>

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](https://support.stalw.art/t/data-on-the-dashboard-doesnt-match/529)  
@Montreal If you need any specific information, let me know and I’ll respond as soon as I can.

---

_[View the full topic](https://support.stalw.art/t/how-do-i-set-up-stalwart-docker-behind-caddy-docker/195)._
