Skip to content

A platform for community discussion. Free, open, simple.

DEV: use mailhog in our docker dev environment (#14549)

Arpit Jalan016524e244e5
diff --git a/bin/docker/boot_dev b/bin/docker/boot_dev
index 3809f0700bc..33e3b2dd3f2 100755
--- a/bin/docker/boot_dev
+++ b/bin/docker/boot_dev
@@ -84,14 +84,14 @@ for symlink in $(find $PLUGINS_DIR -maxdepth 1 -type l); do
done
[[ ! -z "$mount_plugin_symlinks" ]] && echo "Mounting symlinks for plugins: ${mount_plugin_symlinks}"
-# 1080 mailcatcher
+# 8025 mailhog
# 3000 puma... if you must (but unicorn is preferred)
# 9292 unicorn
# 9405 prometheus exporter
docker pull discourse/discourse_dev:release
docker run -d \
- -p $local_publish:1080:1080 \
+ -p $local_publish:8025:8025 \
-p $local_publish:3000:3000 \
-p $local_publish:4200:4200 \
-p $local_publish:9292:9292 \
diff --git a/bin/docker/mailcatcher b/bin/docker/mailcatcher
deleted file mode 100755
index d94e5375c0a..00000000000
--- a/bin/docker/mailcatcher
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-exec "$(dirname "$0")/exec" mailcatcher --http-ip 0.0.0.0 -f
diff --git a/bin/docker/mailhog b/bin/docker/mailhog
new file mode 100755
index 00000000000..25d3089e747
--- /dev/null
+++ b/bin/docker/mailhog
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec "$(dirname "$0")/exec" mailhog