Update deploy doc

This commit is contained in:
Ian Kent 2014-12-31 12:52:23 +00:00
parent 1e2d0045b4
commit f6923b9f4c

View file

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