Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/cloud/docker/docker-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,22 @@ The default {{ site.data.var.mcd-prod }} configuration includes the [MailHog] se

When the MailHog service is installed, go to the following URL to open the service and view outgoing emails: `http://magento2.docker:8025`

You can change HTTP and SMTP exposed ports using `--mailhog-http-port`<br>`--mailhog-smtp-port` options.

For example:

```bash
./vendor/bin/ece-docker build:compose --mailhog-smtp-port=1026 --mailhog-http-port=8026
```

After that you can use `http://magento2.docker:8026` to see outgoing emails and exposed SMTP port will be 1026 (by default this port is 1025).

If you do not need the [MailHog] service you can use option `--no-mailhog` during configuration generating:

```bash
./vendor/bin/ece-docker build:compose --no-mailhog
```

[php]: https://www.php.net/manual/en/install.php
[Composer]: https://getcomposer.org
[Docker]: https://www.docker.com/get-started
Expand Down
1 change: 1 addition & 0 deletions src/cloud/docker/docker-quick-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ docker-compose -f docker-compose.yml -f docker-compose-custom.yml [-f more-custo
| [Mode][] | `--mode`, `-m` | production, developer
| [File synchronization engine][] | `--sync-engine` | native (default), docker-sync, mutagen
| Specify a custom URL for Magento | `--host`<br>`--port`
| Specify custom HTTP and SMTP ports for MailHog | `--mailhog-http-port`<br>`--mailhog-smtp-port`

{:.bs-callout-info}
See [Service versions] for a list of service configuration options you can add to the `ece-docker build:compose` command to customize the Cloud Docker environment configuration.
Expand Down