-
Notifications
You must be signed in to change notification settings - Fork 196
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
Conversation
@@ -138,8 +138,8 @@ services: | |||
image: 'mailhog/mailhog:latest' | |||
restart: always |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
src/Compose/ProductionBuilder.php
Outdated
$this->serviceFactory->getDefaultVersion(ServiceInterface::SERVICE_MAILHOG), | ||
[ | ||
'ports' => [ | ||
($config->getMailHogSmtpPort() ?: '1025').':1025', |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
QA approved |
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