Related to an existing integration?
Yes
Existing integration
MailPit
Overview
Currently all my dev/test environments running on Azure Container Apps with scale to zero. Since adding MailPit, it has dominated my costs. It would be great MailPit would scale to zero too.
Usage example
Option A
// No API, it's by default <3
Option B
.AddMailPit()
.WithDataVolume()
.WithScaleToZero()
// needs some more thought
Breaking change?
I'm not sure
Alternatives
- Do nothing: just pay the cost.
- Set up scale rules in apphost logic.
Additional context
As far as I can tell this should be possible with TCP Scale Rules. I thought this was a KEDA thing but maybe it's Azure Container Apps specific :(.
Another wrinkle might be that persistent storage is not enabled by default, without which every scale operation loses all the emails.
Help us help you
Yes, but only if others can assist
Related to an existing integration?
Yes
Existing integration
MailPit
Overview
Currently all my dev/test environments running on Azure Container Apps with scale to zero. Since adding MailPit, it has dominated my costs. It would be great MailPit would scale to zero too.
Usage example
Option A
// No API, it's by default <3Option B
Breaking change?
I'm not sure
Alternatives
Additional context
As far as I can tell this should be possible with TCP Scale Rules. I thought this was a KEDA thing but maybe it's Azure Container Apps specific :(.
Another wrinkle might be that persistent storage is not enabled by default, without which every scale operation loses all the emails.
Help us help you
Yes, but only if others can assist