From 9fdeffd9e8aebb3a214fcb6219872b7a60000b36 Mon Sep 17 00:00:00 2001 From: Timo Schmid Date: Wed, 21 Jun 2017 13:14:40 +0200 Subject: [PATCH] Add notice how to mount "maildir" storage. --- docs/DEPLOY.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/DEPLOY.md b/docs/DEPLOY.md index 63a7158..00f9b4f 100644 --- a/docs/DEPLOY.md +++ b/docs/DEPLOY.md @@ -29,6 +29,10 @@ You can run it directly from Docker Hub (thanks [humboldtux](https://github.com/ docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog +To mount the Maildir to the local filesystem, you can use a volume: + + docker run -d -e "MH_STORAGE=maildir" -v $PWD/maildir:/maildir -p 1025:1025 -p 8025:8025 mailhog/mailhog + ### Elastic Beanstalk You can deploy MailHog using [AWS Elastic Beanstalk](http://aws.amazon.com/elasticbeanstalk/).