cma.js, it's a tool that allows you to be in control of important parts of the project without headaches.
magentofield and contains the following fields:
first_name- Admin first name
last_name- Admin last name
user- Admin user name
adminuri- Admin panel URL
edition- Magento edition. Allowed values:
configurationwe can configure PHP and Docker services.
phpfield and contains the following fields:
version- PHP version, by default it is using
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.
nginxfield and contains the following fields:
version- Container version string. For Nginx default version is
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.conffile can be found here)
mysqlfield and contains the following fields:
version- Container version string. For MySQL default version is
elasticsearchfield and contains the following fields:
version- Container version string. For ElasticSearch default version is
redisfield and contains the following fields:
version- Container version string. For Redis default version is
composerfield and contains the following fields:
version- Composer version string. Allowed values are:
hostfield and by default, it is set to
localhost. You can put your own host domain that will be set to nginx config as
server_nameand set Magento secure and unsecure base_url values.
sslfield and contains the following values:
enabled- Enables or disables SSL in the application. boolean (
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.
prefixfield and by default, it is set to
falseis 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:
useNonOverlappingPortsfield in the system configuration file to
analyticsfield in the system configuration file to
falseand CMA will not collect analytic data from your system.