cma.js
, it's a tool that allows you to be in control of important parts of the project without headaches.magento
field and contains the following fields:first_name
- Admin first namelast_name
- Admin last nameemail
- Admin emailuser
- Admin user namepassword
Admin passwordadminuri
- Admin panel URLedition
- Magento edition. Allowed values: community
, enterprise
.configuration
we can configure PHP, Composer and Docker services.php
field and contains the following fields:version
- PHP version, by default it is using 7.4.27
.configTemplate
- php.ini
template file location. With this option, you can define your own php.ini
file that will be used by PHP. (Original php-template.ini
file can be found here)extensions
- Map of extensions that will be used for the project. By default, it contains the following extensions that are required by Magento: gd, intl, zlib, openssl, sockets, SimpleXML, xdebug. You can add an extension that will be required by some Composer package, CMA will automatically install it with the correct version.disabledExtensions
- Array of strings as extension names.
If for some reason you need to manually disable an extension in your setup, you can put its name in this option. Be careful as this could potentially break your setup.nginx
field and contains the following fields:version
- Container version string. For Nginx default version is 1.18.0
configTemplate
- Nginx template file location string. With this option, you can define your own nginx.template.conf
- File that will be copied inside the $CMA_CACHE/nginx/conf.d/
folder which is mounted in Nginx container to /etc/nginx/conf.d/
folder. string (Original nginx.template.conf
file can be found here)mysql
field and contains the following fields:version
- Container version string. For MySQL default version is 8.0
elasticsearch
field and contains the following fields:version
- Container version string. For ElasticSearch default version is 7.6.2
redis
field and contains the following fields:version
- Container version string. For Redis default version is 6.0.10-alpine
composer
field and contains the following fields:version
- Composer version string.varnish
field and contains the following fields:enabled
- A boolean option to manually enable or disable Varnish in the setup. (Default: false
)configTemplate
- varnish.vcl
template file location. With this option, you can define your own varnish.vcl
file that will be used by Varnish. (Original varnish.template.vcl
file can be found here)version
- Varnish version string.sslTerminator
field and contains the following fields:version
- Container version string. For Nginx default version is 1.18.0
configTemplate
- SSL Terminator template file location string. With this option, you can define your own ssl-terminator.template.conf
- File that will be copied inside the $CMA_CACHE/ssl-terminator/conf.d/
folder which is mounted in Nginx container to /etc/nginx/conf.d/
folder. string (Original ssl-terminator.template.conf
file can be found here)host
field and by default, it is set to localhost
.
You can put your own host domain that will be set to nginx config as server_name
and set Magento secure and unsecure base_url values.ssl
field and contains the following values:enabled
- Enables or disables SSL in the application. boolean (false
by default)ssl_certificate
- SSL certificate file location string. You can put there your SSL certificate file location relative to the project root folder or use absolute value.ssl_certificate_key
- SSL certificate key file location string. You can put there your SSL certificate file location relatively to the project root folder or use absolute value.prefix
field and by default, it is set to true
.prefix
to false
is generally not recommended but might be necessary for legacy projects..cmarc
.
As it is not created automatically, you will need to do it manually.
The default configuration file looks like this:useNonOverlappingPorts
field in the system configuration file to true
.analytics
field in the system configuration file to false
and CMA will not collect analytic data from your system.