Skip to content

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

mailhog:
hostname: mailhog.magento2.test
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.

8 participants