Skip to content

Commit 52e99dd

Browse files
committed
[Doc] Adding new PHP extensions magento#155
1 parent cabc9f6 commit 52e99dd

5 files changed

+1
-36
lines changed

src/cloud/docker/docker-config.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -134,20 +134,6 @@ The default {{ site.data.var.mcd-prod }} configuration includes the [MailHog] se
134134

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

137-
By default, MailHog listens on port 1025 for SMTP and port 8025 for the frontend dashboard and API. You can change the default ports using the `--mailhog-http-port` and `--mailhog-smtp-port` options.
138-
139-
```bash
140-
./vendor/bin/ece-docker build:compose --mailhog-smtp-port=1026 --mailhog-http-port=8026
141-
```
142-
143-
After updating the configuration and restarting the Docker environment, you can connect to the MailHog service from `http://magento2.docker:8026`, and use port 1026 for SMTP communication.
144-
145-
If you do not need the [MailHog] service, use the `--no-mailhog` option to generate the Docker compose configuration:
146-
147-
```bash
148-
./vendor/bin/ece-docker build:compose --no-mailhog
149-
```
150-
151137
[php]: https://www.php.net/manual/en/install.php
152138
[Composer]: https://getcomposer.org
153139
[Docker]: https://www.docker.com/get-started

src/cloud/docker/docker-containers-service.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,6 @@ See [Important Elasticsearch configuration][] in the Elasticsearch documentation
7575
{:.bs-callout-info}
7676
If your Cloud project uses Magento version 2.3.5 or earlier with MySQL search, add the `--no-es` option to skip the Elasticsearch container configuration when you generate the Docker Compose configuration file: `ece-docker build:compose --no-es`.
7777

78-
### Elasticsearch plugins
79-
80-
The `analysis-icu` and `analysis-phonetic` plugins are installed by default and can not be skipped.
81-
If you use Elasticsearch 6.5 and later, the default Elasticsearch plugins configured in `.magento/services.yaml` are installed automatically along with any custom plugins added to the `services.yaml`. When you generate the `docker-compose.yaml` file, custom plugins are added to the `ES_PLUGINS` environment configuration option.
82-
83-
You can change the list of plugins to install by updating the configuration for the `ES_PLUGINS` variable:
84-
85-
```yaml
86-
services:
87-
elasticsearch:
88-
environment:
89-
- 'ES_PLUGINS=analysis-stempel analysis-nori'
90-
```
91-
9278
### Troubleshooting
9379

9480
On some Linux systems, when you launch the Docker environment, the Elasticsearch service fails to start and the following error displays:

src/cloud/docker/docker-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The following table shows the options to customize service container configurati
4343
| Name | Service | Key & options | Available Versions | Notes
4444
| ------------- | ---------- | ---------- | ------------------ |------------------
4545
| [db] | MariaDB or MySQL<br> | `--db`, `--db-image` (MySQL)<br>`--expose-db-port`<br>`--db-increment`<br>`--db-offset`<br>`--with-entrypoint`<br>`--with-mariadb-config`|10.0, 10.1, 10.2<br>5.6, 5.7 | Use the increment and offset options to customize the [auto-increment settings][Using AUTO_INCREMENT] for replication.<br><br>Use the `--with-entrypoint` and `--with-mariadb-config` options to automatically configure database directories in the Docker environment<br><br>*Example build commands:*<br>`ece-docker build:compose --db <mariadb-version>`<br>`ece-docker build:compose --db <mysql-version> --db-image`
46-
| [elasticsearch] | Elasticsearch | `--es`<br>`--es-env-var`<br>`--no-es` | 1.7, 2.4, 5.2, 6.5, 6.8, 7.5, 7.6, 7.7 | Use the options to specify the Elasticsearch version, customize Elasticsearch configuration options, or to build a Docker environment without Elasticsearch.
46+
| [elasticsearch] | Elasticsearch | `--es`<br>`--es-env-var`<br>`--no-es` | 1.7, 2.4, 5.2, 6.5, 6.8, 7.5, 7.6 | Use the options to specify the Elasticsearch version, customize Elasticsearch configuration options, or to build a Docker environment without Elasticsearch.
4747
| [FPM][fpm-container] | PHP FPM | `--php`<br>`--with-xdebug` | 7.0, 7.1, 7.2, 7.3, 7.4 | Used for all incoming requests. Optionally, add Xdebug configuration to debug PHP code in the Docker environment.
4848
| [node][node-container] | Node | `--node` | 6, 8, 10, 11 | Used gulp or other NPM based commands
4949
| [rabbitmq][rabbitmq-container]| RabbitMQ | `--rmq` | 3.5, 3.7, 3.8 |

src/cloud/docker/docker-development-debug.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ If you use Microsoft Windows, take the following steps before continuing:
2525
```bash
2626
vendor/bin/ece-docker build:compose --mode="developer" --sync-engine="mutagen" --with-xdebug
2727
```
28-
29-
For Linux systems, you must use the `--set-docker-host` option to add the `host.docker.internal` entry to the `/etc/hosts` file for the `fpm_xdebug` container.
30-
31-
```bash
32-
vendor/bin/ece-docker build:compose --mode="developer" --with-xdebug --set-docker-host
33-
```
3428

3529
This command adds the Xdebug configuration to your `docker-compose.yml` file.
3630

src/cloud/docker/docker-quick-reference.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ docker-compose -f docker-compose.yml -f docker-compose-custom.yml [-f more-custo
5151
| [Mode][] | `--mode`, `-m` | production, developer
5252
| [File synchronization engine][] | `--sync-engine` | native (default), docker-sync, mutagen
5353
| Specify a custom URL for Magento | `--host`<br>`--port`
54-
| Specify custom HTTP and SMTP ports for MailHog | `--mailhog-http-port`<br>`--mailhog-smtp-port`
5554

5655
{:.bs-callout-info}
5756
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.

0 commit comments

Comments
 (0)