Skip to content

The open alternative to Salesforce, designed for AI.

Add mailhog for local smtp

Anders Borch3cea61d9ed88
diff --git a/infra/dev/docker-compose.yml b/infra/dev/docker-compose.yml
index 0277867682e..f6d8fe0fc99 100644
--- a/infra/dev/docker-compose.yml
+++ b/infra/dev/docker-compose.yml
@@ -47,6 +47,19 @@ services:
depends_on:
- "twenty-hasura"
- "postgres"
+ - "mailhog"
+ mailhog:
+ image: jcalonso/mailhog
+ environment:
+ SMTP_HOST: mailhog
+ SMTP_PORT: 1025
+ SMTP_PASS: smtp-secret
+ SMTP_USER: smtp-user
+ SMTP_SECURE: "false"
+ SMTP_SENDER: auth@localhost
+ ports:
+ - "1025:1025"
+ - "8025:8025"
twenty-server:
build:
context: ../..