Files
AFFiNE-Mirror/.docker/dev
Jachin 009288dee2 chore: replaces the MailHog Docker container with Mailpit (#13439)
This PR replaces the MailHog Docker container with Mailpit.

Reasons for this change:

- MailHog is no longer maintained.
- Mailpit is an actively developed, open-source alternative.
- Fully compatible as a drop-in replacement.
- Lightweight and Fast: Built with Go, the official Docker image is only
12.5MB.

This change improves performance and ensures we are using a maintained
tool for local email testing.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Replaced the email testing service with a new one that offers a
similar web interface and SMTP port.
* Updated configuration to enhance message storage and persistence for
email testing in development environments.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-08 06:15:37 +00:00
..

Dev containers

Develop with domain

MacOs only, OrbStack only

1. Generate and install Root CA

# the root ca file will be located at `./.docker/dev/certs/ca`
yarn affine cert --install

2. Generate domain certs

# certificates will be located at `./.docker/dev/certs/${domain}`
yarn affine cert --domain affine.localhost

3. Enable nginx service in compose.yml