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

This commit is contained in:
Arpit Jalan 2021-10-08 11:10:46 +05:30 committed by GitHub
parent 488f716c16
commit 016524e244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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 \

View File

@ -1,3 +0,0 @@
#!/bin/bash
exec "$(dirname "$0")/exec" mailcatcher --http-ip 0.0.0.0 -f

3
bin/docker/mailhog Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
exec "$(dirname "$0")/exec" mailhog