-
Notifications
You must be signed in to change notification settings - Fork 1.7k
MCLOUD-5667: Add Universal Configuration documentation #6975
MCLOUD-5667: Add Universal Configuration documentation #6975
Conversation
An admin must run tests on this PR before it can be merged. |
|
||
## Configuration | ||
|
||
Magento Cloud Docker supports few configurations: |
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.
Magento Cloud Docker supports few configurations: | |
Magento Cloud Docker supports the following configurations: |
|
||
## Fully custom configuration | ||
|
||
You can fully override the file configuration by using command `build:custom:compose` |
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.
You can fully override the file configuration by using command `build:custom:compose` | |
You can override the file configuration by using `build:custom:compose` command. |
- opcache | ||
``` | ||
|
||
- If `extensions.enabled` is not provided, PHP will be run with version-specific default extensions. |
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.
- If `extensions.enabled` is not provided, PHP will be run with version-specific default extensions. | |
- If you do not configure the `extensions` options, PHP will run with version-specific default extensions. |
|
||
You can install Cloud Docker by adding the specific dependency to your project's `composer.json` file: | ||
|
||
```json | ||
{ | ||
"require-dev": { | ||
"magento/magento-cloud-docker": "^1.1" | ||
} | ||
} | ||
``` | ||
|
||
Or by running CLI command | ||
|
||
```bash | ||
composer require --dev "magento/magento-cloud-docker:^1.1" | ||
``` |
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.
You can install Cloud Docker by adding the specific dependency to your project's `composer.json` file: | |
```json | |
{ | |
"require-dev": { | |
"magento/magento-cloud-docker": "^1.1" | |
} | |
} | |
``` | |
Or by running CLI command | |
```bash | |
composer require --dev "magento/magento-cloud-docker:^1.1" | |
``` | |
You can install {{site.data.var.mcd-prod}} by adding the package dependency to your Magento project using either of the following methods: | |
- Add the dependency directly to the `composer.json` file. | |
```json | |
{ | |
"require-dev": { | |
"magento/magento-cloud-docker": "^1.1" | |
} | |
} | |
``` | |
- Add the dependency using the `composer require` command. | |
```bash | |
composer require --dev "magento/magento-cloud-docker:^1.1" | |
``` |
- Magento Cloud configuration files (`.magento.app.yaml` and `.magento/services.yaml`) | ||
- Standalone configuration file `.magento.docker.yaml` | ||
|
||
For more information about configuration for Magento Cloud Docker - navigate to [Cloud Docker with Magento Cloud][docker-reference] |
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.
For more information about configuration for Magento Cloud Docker - navigate to [Cloud Docker with Magento Cloud][docker-reference] | |
For more information about Magento Cloud Docker configuration, see the [Cloud Docker with Magento Cloud][docker-reference] |
|
||
#### Services | ||
|
||
This section describes the required services. You can find list of available services [here][services] |
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.
This section describes the required services. You can find list of available services [here][services] | |
This section describes the required services. You can find the list of available services [here][services] |
New content incorporated on branch mae-mcloud-5667-docker-stand-alone-config - refactoring work for addition of universal Docker config file in progress. |
Hi @shiftedreality, thank you for your contribution! |
Purpose of this pull request
https://jira.corp.magento.com/browse/MCLOUD-5667
Affected DevDocs pages
Links to Magento source code