Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit f12bf92

Browse files
authored
Merge branch 'master' into 3361_newConfigurationType
2 parents be26d09 + 722df7b commit f12bf92

39 files changed

+584
-682
lines changed

README.md

Lines changed: 103 additions & 283 deletions
Large diffs are not rendered by default.

src/_data/main-nav.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
url: /cloud/docker/docker-development.html
3030
versionless: true
3131

32-
- label: Launch Docker
32+
- label: Configure and launch Docker
3333
url: /cloud/docker/docker-config.html
3434
versionless: true
3535

src/_data/toc/cloud-guide.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,18 +144,20 @@ pages:
144144
- label: Manage cron jobs
145145
url: /cloud/docker/docker-manage-cron-jobs.html
146146
versionless: true
147+
148+
- label: Extend Docker
149+
url: /cloud/docker/docker-extend.html
150+
versionless: true
147151

152+
- label: Launch Docker
153+
children:
148154
- label: Developer mode
149155
url: /cloud/docker/docker-mode-developer.html
150156
versionless: true
151157

152158
- label: Production mode
153159
url: /cloud/docker/docker-mode-production.html
154160
versionless: true
155-
156-
- label: Extend Docker
157-
url: /cloud/docker/docker-extend.html
158-
versionless: true
159161

160162
- label: Functional Testing
161163
children:

src/_data/toc/page-builder.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ pages:
7777
- label: How-Tos
7878
versionless: true
7979
children:
80+
- label: Add an appearance
81+
url: /page-builder/docs/how-to/how-to-add-appearance.html
82+
versionless: true
83+
8084
- label: Customize the panel
8185
url: /page-builder/docs/how-to/how-to-customize-panel.html
8286
versionless: true
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{:.bs-callout-info}
2+
See [Configure Docker]({{site.baseurl}}/cloud/docker/docker-config.html) for additional information about Docker prerequisites and using the Magento Cloud Docker environment.

src/cloud/architecture/pro-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The Production environment has three virtual machines (VMs) behind an Elastic Lo
156156
- `pub/static`
157157
- `app/etc`
158158
- **Redis**—one server per VM with only one active and the other two as replicas
159-
- **Elasticsearch**—search for {{site.data.var.ece}} 2.1 and later
159+
- **Elasticsearch**—search for {{site.data.var.ece}} 2.2 and later
160160
- **Galera**—database cluster with one MariaDB MySQL database per node with an auto-increment setting of three for unique IDs across every database
161161

162162
The following figure shows the technologies used in the Production environment:

src/cloud/architecture/pro-develop-deploy-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Combine all verified code changes by merging your Active development branch into
6161

6262
### Merge to Staging
6363

64-
Staging is a pre-production environment that provides all services and settings as close to the Production environment as possible. You should always push your code changes in iterations to your Staging environment for full testing that includes all services. The first time you use the Staging environment, you must configure services, such as [Fastly CDN]({{ site.baseurl }}/cloud/cdn/cloud-fastly.html), [Blackfire Profiler]({{ site.baseurl }}/cloud/project/project-integrate-blackfire.html), and [New Relic]({{ site.baseurl }}/cloud/project/new-relic.html). Also, we recommend configuring payment gateways, shipping, notifications, and other vital services with sandbox or testing credentials.
64+
Staging is a pre-production environment that provides all services and settings as close to the Production environment as possible. You should always push your code changes from the Integration environment to the Staging environment so that you can perform thorough testing with all services. The first time you use the Staging environment, you must configure services, such as [Fastly CDN]({{ site.baseurl }}/cloud/cdn/cloud-fastly.html), [Blackfire Profiler]({{ site.baseurl }}/cloud/project/project-integrate-blackfire.html), and [New Relic]({{ site.baseurl }}/cloud/project/new-relic.html). Also, we recommend configuring payment gateways, shipping, notifications, and other vital services with sandbox or testing credentials.
6565

6666
It is best to thoroughly test every service, verify your performance testing tools, and perform UAT testing as an administrator and as a customer, until you feel that your store is ready for the Production environment. See [Deploy your store]({{ site.baseurl }}/cloud/live/stage-prod-live.html).
6767

src/cloud/cdn/fastly-vcl-blocking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You create an Edge ACL to define the list of IP addresses to block. After creati
2525
If you want to manage access for both Staging and Production sites, create the Edge ACL with the same name in both environments. The VCL snippet code will apply to both environments.
2626

2727
1. Log in to the Magento Admin.
28-
1. Navigate to **Stores** > **Settings** > **Configuration** > **Advanced** > **System** > **Fastly Configuration**.
28+
1. Navigate to **Stores** > Settings > **Configuration** > **Advanced** > **System** > **Full Page Cache** > **Fastly Configuration**.
2929
1. Expand the **Edge ACL** section.
3030
1. Click **Add ACL** to create a list. For this example, name the list "blocklist".
3131
1. Enter IP address values in the list. Any client IPs added to this list will be blocked access from the site.

src/cloud/docker/docker-config.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,12 @@ The `ece-docker build:compose` command overwrites the existing `docker-compose.y
5151

5252
1. Optionally, [enable Xdebug].
5353

54-
## Launch modes
54+
## Set the launch mode
5555

56-
_Mode_ is an additional configuration option for the Docker configuration generator (the `ece-docker build:compose` command). This mode option does not affect the Magento mode. It determines the {{site.data.var.ece}} file system installation and read-only or read-write behavior.
56+
You can launch a Docker environment in production or developer mode by setting the `mode` option on the `ece-docker build:compose` command:
5757

58-
You can launch your Docker environment in one of the following modes:
59-
60-
- [**production**][prod-mode]—Production mode is the default configuration setting for launching the Docker environment with read-only filesystem permissions. This option builds the Docker environment in production mode and verifies configured service versions.
61-
- [**developer**][dev-mode]—Developer mode supports an active development environment with full, writable filesystem permissions. This option builds the Docker environment in developer mode and verifies configured service versions. System performance is slower in developer mode because of additional file synchronization operations.
58+
- **Production mode**—The `--mode="production"` setting supports an active production environment with read-only filesystem permissions. This is the default configuration setting for launching a Docker environment. Selecting this option builds the Docker environment in production mode and verifies configured service versions. See [Production mode launch instructions][prod-mode].
59+
- **Developer mode**—The `--mode="developer"` setting supports an active development environment with full, writable filesystem permissions. Selecting this option builds the Docker environment in developer mode and verifies configured service versions. System performance is slower in developer mode because of additional file synchronization operations. See [Developer mode launch instructions][dev-mode].
6260

6361
For example, the following command starts the Docker configuration generator for the developer mode:
6462

@@ -68,6 +66,9 @@ For example, the following command starts the Docker configuration generator for
6866

6967
To skip the interactive mode, use the `-n, --no-interaction` option.
7068

69+
{:.bs-callout-info}
70+
The mode option for the `ece-docker build:compose` command does not affect the Magento mode. It determines the {{site.data.var.ece}} file system installation and read-only or read-write behavior.
71+
7172
## Stop and start containers
7273

7374
You can stop containers and restore them afterwards using the following methods.
@@ -89,7 +90,7 @@ Use the following command to stop and remove the Docker configuration:
8990
{: .bs-callout-warning}
9091
This command removes all components of your local Docker instance including containers, networks, volumes, and images except for the persistent database and the `magento-sync` volume. See [Rebuild a clean environment][refresh].
9192

92-
## Running Composer with Docker
93+
## Run Composer with Docker
9394

9495
You can run composer using the `docker` command before you create the container instance. This technique is useful to create an application instance during the CI/CD build process, or even during first time Magento set up.
9596

@@ -101,7 +102,7 @@ docker run -it -v $(pwd):/app/ -v ~/.composer/:/root/.composer/ magento/magento
101102

102103
This command passes in the current working directory as `/app/`, includes composer from `~/.composer/`, and runs the `composer install` command in the container. After this set up, the command fixes the permissions on the files that have been added or changed.
103104

104-
## Sendmail service
105+
## Set up email
105106

106107
Send emails from your Docker environment by adding the following configuration to the `docker-compose.yml` configuration file:
107108

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The FPM container includes the following volumes:
7777
- `/app/pub/media`
7878

7979
{:.bs-callout-tip}
80-
You can add custom PHP extensions and manage their status from the `runtime` section of the `.magento.app.yaml` file. See [PHP extensions]. To test custom extensions without updating the {{site.data.var.ece}} environment configuration, you can add the custom configuration to the [`docker-compose.override.yml`][Docker override] file. Configuration settings in this file are applied only when you build and deploy to the Docker environment.
80+
You can add custom PHP extensions and manage their status from the `runtime` section of the `.magento.app.yaml` file. See [PHP extensions]. To test custom extensions without updating the {{site.data.var.ece}} environment configuration, you can add the custom configuration to the [`docker-compose.override.yml`][Docker override file]. Configuration settings in this file are applied only when you build and deploy to the Docker environment.
8181

8282
For additional information about configuring the php environment, see the [XDebug for Docker] documentation.
8383

0 commit comments

Comments
 (0)