Configure application deployment
The .magento.app.yaml
file controls the way that your application builds and deploys. Although Adobe Commerce on cloud infrastructure supports multiple applications per project, typically, a project has a single application with the .magento.app.yaml
file at the root of the repository.
The .magento.app.yaml
has many default values, see a sample .magento.app.yaml
file. Always review the .magento.app.yaml
for your installed version. This file can differ across Adobe Commerce on cloud infrastructure versions.
Use the .magento.app.yaml
file to define the following configuration values:
- Properties—Define property values for application instance.
- Variables property—Review environment variables required for the Commerce application version.
- PHP settings—Configure runtime PHP options.
- Set Cache For Static Files—Set cache TTL for your media and static files.
NOTE
The
.magento.app.yaml
file is managed locally or in the git repository. The configuration is only read for the purpose of the deployment and build process and gets removed after the deployment has been completed, so you will not find it on the server.recommendation-more-help
05f2f56e-ac5d-4931-8cdb-764e60e16f26