mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2025-02-17 08:15:55 +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.
|
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
|
### Elastic Beanstalk
|
||||||
|
|
||||||
You can deploy MailHog using [AWS Elastic Beanstalk](http://aws.amazon.com/elasticbeanstalk/).
|
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
|
3. Create a new Elastic Beanstalk application
|
||||||
4. Launch a new environment and upload the zip file
|
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
|
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.
|
MailHog. To use a load balanced EB application, use MongoDB backed storage.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue