Merge pull request #764 from RonWilliams/master

Add MailHog v1.0.0
This commit is contained in:
Raúl Sánchez 2018-04-06 16:32:47 +02:00 committed by GitHub
commit b6651aa78f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1 @@
The mailhog catalog configuration provides SMTP access on the internal network by default. External SMTP access can be exposed through a TCP Rancher load balancer routing to internal port 25. The Mailhog UI can be exposed through an HTTP(S) Rancher Load Balancer routing to internal port 8025.

View File

@ -0,0 +1,12 @@
version: '2'
services:
mailhog:
image: mailhog/mailhog:v1.0.0
environment:
MH_UI_WEB_PATH: ${mh_ui_web_path}
MH_SMTP_BIND_ADDR: ${mh_smtp_bind_addr}
stdin_open: true
tty: true
user: root
labels:
io.rancher.container.pull_image: always

View File

@ -0,0 +1,15 @@
.catalog:
name: MailHog
version: 0.0.1
description: MailHog E-mail Capture Tools
questions:
- variable: mh_ui_web_path
label: Web UI Path
type: string
description: Defines the URL path for viewing MailHog. Will use "/" if left blank.
- variable: mh_smtp_bind_addr
label: SMTP Bind Address
type: string
required: true
default: 0.0.0.0:25
description: Defines the IP/Port combination for the SMTP listener.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,4 @@
name: MailHog
description: MailHog E-mail Capture Tools
version: 0.0.1
category: Services