diff --git a/templates/mailhog/0/docker-compose.yml b/templates/mailhog/0/docker-compose.yml new file mode 100644 index 0000000..36f29cc --- /dev/null +++ b/templates/mailhog/0/docker-compose.yml @@ -0,0 +1,12 @@ +version: '2' +services: + mailhog: + image: mailhog/mailhog + 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 diff --git a/templates/mailhog/0/rancher-compose.yml b/templates/mailhog/0/rancher-compose.yml new file mode 100644 index 0000000..eae53e6 --- /dev/null +++ b/templates/mailhog/0/rancher-compose.yml @@ -0,0 +1,17 @@ +.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 + required: true + default: '' + description: Defines the URL path for viewing MailHog. + - 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. diff --git a/templates/mailhog/catalogIcon-mailhog.png b/templates/mailhog/catalogIcon-mailhog.png new file mode 100644 index 0000000..c846729 Binary files /dev/null and b/templates/mailhog/catalogIcon-mailhog.png differ diff --git a/templates/mailhog/config.yml b/templates/mailhog/config.yml new file mode 100644 index 0000000..484b4e2 --- /dev/null +++ b/templates/mailhog/config.yml @@ -0,0 +1,4 @@ +name: MailHog +description: MailHog E-mail Capture Tools +version: 0.0.1 +category: Services