Skip to content

MCLOUD-6898: Add option to customize port for MailHog #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 16, 2020

Conversation

BaDos
Copy link
Contributor

@BaDos BaDos commented Sep 9, 2020

Description

Added options to configure HTTP and SMTP ports for MailHog

Fixed Issues (if relevant)

Manual testing scenarios

Covered with Integration and Functional tests

Release notes

Added MailHog configuration options to the ece-docker build:compose command to customize the HTTP and SMTP ports, and to disable MailHog. See Set up email.

Associated documentation updates

magento/devdocs#7860

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • Pull request introduces user-facing changes and includes meaningful release notes and documentation
  • All commits are accompanied by meaningful commit messages

@@ -138,8 +138,8 @@ services:
image: 'mailhog/mailhog:latest'
restart: always
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove restart: always since it causes issues

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

$this->serviceFactory->getDefaultVersion(ServiceInterface::SERVICE_MAILHOG),
[
'ports' => [
($config->getMailHogSmtpPort() ?: '1025').':1025',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move defaults port to source where http ports located

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

arhiopterecs
arhiopterecs previously approved these changes Sep 15, 2020
@andriyShevtsov
Copy link
Contributor

QA approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants