From 016524e244e5a179c357ed278ed2fd6355b2206f Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Fri, 8 Oct 2021 11:10:46 +0530 Subject: [PATCH] DEV: use mailhog in our docker dev environment (#14549) --- bin/docker/boot_dev | 4 ++-- bin/docker/mailcatcher | 3 --- bin/docker/mailhog | 3 +++ 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100755 bin/docker/mailcatcher create mode 100755 bin/docker/mailhog 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