mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:12:45 +08:00
DEV: use mailhog in our docker dev environment (#14549)
This commit is contained in:
parent
488f716c16
commit
016524e244
|
@ -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 \
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec "$(dirname "$0")/exec" mailcatcher --http-ip 0.0.0.0 -f
|
3
bin/docker/mailhog
Executable file
3
bin/docker/mailhog
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec "$(dirname "$0")/exec" mailhog
|
Loading…
Reference in New Issue
Block a user