mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 16:24:04 +00:00
Update deploy doc
This commit is contained in:
parent
1e2d0045b4
commit
f6923b9f4c
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,10 @@ and [this Ansible role](https://github.com/geerlingguy/ansible-role-mailhog) by
|
|||
|
||||
The example [Dockerfile](Dockerfile) can be used to run MailHog in a [Docker](https://www.docker.com/) container.
|
||||
|
||||
You can run it directly from DockerHub (thanks [humboldtux](https://github.com/humboldtux))
|
||||
|
||||
docker run -d -p 1025:1025 -p 8025:8025 humboldtux/mailhog
|
||||
|
||||
### Elastic Beanstalk
|
||||
|
||||
You can deploy MailHog using [AWS Elastic Beanstalk](http://aws.amazon.com/elasticbeanstalk/).
|
||||
|
@ -31,6 +35,9 @@ You can deploy MailHog using [AWS Elastic Beanstalk](http://aws.amazon.com/elast
|
|||
3. Create a new Elastic Beanstalk application
|
||||
4. Launch a new environment and upload the zip file
|
||||
|
||||
**Note** You'll need to reconfigure nginx in Elastic Beanstalk to expose both
|
||||
ports as TCP, since by default it proxies the first exposed port to port 80 as HTTP.
|
||||
|
||||
If you're using in-memory storage, you can only use a single instance of
|
||||
MailHog. To use a load balanced EB application, use MongoDB backed storage.
|
||||
|
||||
|
|
Loading…
Reference in a new issue