diff --git a/infra/dev/docker-compose.yml b/infra/dev/docker-compose.yml index 027786768..f6d8fe0fc 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: ../..