Merge branch 'patch-1' of https://github.com/riking/MailHog into riking-patch-1

This commit is contained in:
Ian Kent 2016-03-20 18:10:37 +00:00
commit dbcd606e2f

View file

@ -7,8 +7,8 @@ You can configure MailHog using command line options or environment variables:
| ------------------- | --------------- | --------------- | ----------- | ------------------- | --------------- | --------------- | -----------
| MH_CORS_ORIGIN | -cors-origin | | If set, a Access-Control-Allow-Origin header is returned for API endpoints | MH_CORS_ORIGIN | -cors-origin | | If set, a Access-Control-Allow-Origin header is returned for API endpoints
| MH_HOSTNAME | -hostname | mailhog.example | Hostname to use for EHLO/HELO and message IDs | MH_HOSTNAME | -hostname | mailhog.example | Hostname to use for EHLO/HELO and message IDs
| MH_API_BIND_ADDR | -api-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP UI server to bind to | MH_API_BIND_ADDR | -api-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP API server to bind to
| MH_UI_BIND_ADDR | -ui-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP API server to bind to | MH_UI_BIND_ADDR | -ui-bind-addr | 0.0.0.0:8025 | Interface and port for HTTP UI server to bind to
| MH_MAILDIR_PATH | -maildir-path | | Maildir path (for maildir storage backend) | MH_MAILDIR_PATH | -maildir-path | | Maildir path (for maildir storage backend)
| MH_MONGO_COLLECTION | -mongo-coll | messages | MongoDB collection name for message storage | MH_MONGO_COLLECTION | -mongo-coll | messages | MongoDB collection name for message storage
| MH_MONGO_DB | -mongo-db | mailhog | MongoDB database name for message storage | MH_MONGO_DB | -mongo-db | mailhog | MongoDB database name for message storage