Migrate email catcher to Mailpit

This commit is contained in:
gabdevele
2026-06-11 01:25:18 +02:00 Unverified
parent c6dc19269a
commit 34c713e8b3
13 changed files with 26 additions and 26 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
# Visione Backend
C++20 API backend built with Drogon for the Visione urban reporting project.
Docker is used only for local external services: MySQL and MailHog.
Docker is used only for local external services: MySQL and Mailpit.
## Setup
@@ -27,7 +27,7 @@ cmake --build build
```
The API listens on `http://localhost:5555`.
MailHog listens on `http://localhost:8025`.
Mailpit listens on `http://localhost:8025`.
Local CORS allows `http://localhost:5173` by default for the future Vue frontend.
Multipart uploads currently accept report images and videos up to the app body
limit configured in `config.json`.
@@ -138,9 +138,9 @@ backend deployment with MySQL and a local SMTP catcher. Configure the public
domain in Dokploy against service `backend` and container port `5555`.
The runtime image includes `config.json`; override environment-specific values
with Dokploy environment variables. The SMTP catcher service keeps the internal
name `mailhog` for compatibility, but uses the multi-architecture Mailpit image
to avoid `exec format error` failures on ARM servers.
with Dokploy environment variables. The SMTP catcher service uses the
multi-architecture Mailpit image to avoid `exec format error` failures on ARM
servers.
Set `DB_NAME`, `DB_USER`, `DB_PASSWORD`, `MYSQL_ROOT_PASSWORD` and
`CORS_ALLOWED_ORIGIN` in Dokploy environment variables. Use the exact browser