mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
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 -->
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