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

Commit e60cdbd

Browse files
committed
Migrated /pull/9073
1 parent cb52e5a commit e60cdbd

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

src/cloud/docker/docker-config-blackfire-io.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ To add Blackfire.io to your project configuration:
6161
docker-compose run --rm deploy cloud-deploy
6262
```
6363

64-
```bash
65-
docker-compose run --rm deploy magento-command deploy:mode:set developer
66-
```
67-
6864
- Run post-deploy hooks.
6965

7066
```bash

src/cloud/docker/docker-mode-developer.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,22 @@ Large files (>1 GB) can cause a period of inactivity. DB dumps and archive files
2929
{:.procedure}
3030
To launch the Docker environment in developer mode:
3131

32-
1. In your local environment, generate the Docker Compose configuration file. You can use the service configuration options, such as `--php`, to [specify a version][services].
32+
1. In your local project root, generate the Docker Compose configuration file. You can use the service configuration options, such as `--php`, to [specify a version][services].
3333

3434
```bash
3535
./vendor/bin/ece-docker build:compose --mode="developer"
3636
```
3737

38+
{:.bs-callout-info}
39+
The mode specified in the `compose` command determines the deployment for the `docker-compose run --rm deploy cloud-deploy` command in a later step.
40+
3841
If required, set the option for [synchronizing data in Docker]. For example:
3942

4043
```bash
4144
./vendor/bin/ece-docker build:compose --mode="developer" --sync-engine="mutagen"
4245
```
4346

44-
{:.bs-callout-info}
47+
{:.bs-callout-tip}
4548
You can further customize the Docker Compose configuration file by adding additional options to the `build:compose` command. For example, you can set the software version for a service, or add Xdebug configuration. See [service configuration options].
4649

4750
1. _Optional_: If you have a custom PHP configuration file, copy the default configuration DIST file to your custom configuration file and make any necessary changes.
@@ -56,9 +59,9 @@ To launch the Docker environment in developer mode:
5659
docker-compose up -d
5760
```
5861

59-
1. If you selected the `manual-native` option, start the file synchronization using the following commands.
62+
1. If you selected the `manual-native` option, start the file synchronization.
6063

61-
**This command copies all data from the local machine to the Docker volume:**
64+
**To copy all data from the local machine to the Docker volume:**
6265

6366
```bash
6467
./bin/magento-docker copy-to --all
@@ -71,7 +74,7 @@ To launch the Docker environment in developer mode:
7174
./bin/magento-docker copy-to vendor
7275
```
7376

74-
**To copy all data from the Docker volume to the local machine, use:**
77+
**To copy all data from the Docker volume to the local machine:**
7578

7679
```bash
7780
./bin/magento-docker copy-from --all
@@ -107,10 +110,6 @@ To launch the Docker environment in developer mode:
107110
docker-compose run --rm deploy cloud-deploy
108111
```
109112

110-
```bash
111-
docker-compose run --rm deploy magento-command deploy:mode:set developer
112-
```
113-
114113
- Run post-deploy hooks.
115114

116115
```bash
@@ -136,7 +135,7 @@ To launch the Docker environment in developer mode:
136135
docker-compose run --rm deploy magento-command cache:clean
137136
```
138137

139-
1. Access the local Magento Cloud template by opening one of the following URLs in a browser:
138+
1. Access the local storefront by opening one of the following URLs in a browser:
140139

141140
- `http://magento2.docker`
142141

src/cloud/docker/docker-mode-production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ To launch the Docker environment in production mode:
7878
docker-compose restart
7979
```
8080

81-
1. Access the local Magento Cloud template by opening one of the following URLs in a browser:
81+
1. Access the local storefront by opening one of the following URLs in a browser:
8282

8383
- `http://magento2.docker`
8484

0 commit comments

Comments
 (0)