Add mailhog for local smtp

This commit is contained in:
Anders Borch
2023-04-19 17:51:15 +02:00
parent 39ffb0f90b
commit 3cea61d9ed

View File

@ -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: ../..