Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🧑‍💻 Add mailhog service to development environment (#1451)

Luke Vellacf283c8ab31a
diff --git a/.env.development b/.env.development
index a2ada3c7e..447800cc7 100644
--- a/.env.development
+++ b/.env.development
@@ -18,4 +18,11 @@ [email protected]
NEXT_PUBLIC_SELF_HOSTED=false
# Suppress warning from sentry during local development
-SENTRY_IGNORE_API_RESOLUTION_ERROR=1
\ No newline at end of file
+SENTRY_IGNORE_API_RESOLUTION_ERROR=1
+
+# Mailhog SMTP settings
+SMTP_HOST=localhost
+SMTP_PORT=1025
+SMTP_SECURE=false
+SMTP_USER=
+SMTP_PWD=
\ No newline at end of file
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index aee8fbd77..13f319907 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -45,6 +45,12 @@ services:
MINIO_ROOT_PASSWORD: minio123
volumes:
- s3-data:/data
+ mailhog:
+ image: mailhog/mailhog
+ ports:
+ - "8025:8025"
+ - "1025:1025"
+
# This service just make sure a bucket with the right policies is created
createbuckets:
image: minio/mc