Download the PHP package arvatoscm/dockerize-magento2 without Composer
On this page you can find all versions of the php package arvatoscm/dockerize-magento2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arvatoscm/dockerize-magento2
More information about arvatoscm/dockerize-magento2
Files in arvatoscm/dockerize-magento2
Package dockerize-magento2
Short Description Docker infrastructure definitions for Magento 2
License Apache-2.0
Homepage https://github.com/arvatoSCM/dockerize-magento2
Informations about the package dockerize-magento2
Dockerize Magento 2
A composer package for dockerizing Magento 2
The composer package arvatoscm/dockerize-magento2 deploys docker infrastructure defintion files such as docker-compose.yml to your Magento 2 root folder and enables you to host your Magento 2 shops without having to install Apache/Nginx, MySQL or PHP on your system.
Package Name
arvatoscm/dockerize-magento2
Software Requirements
For Linux users you must have a recent version of docker and docker-compose installed.
If you are a Mac or Windows user, use the Docker Toolbox.
Installation
Add arvatoscm/dockerize-magento2 to your existing Magento 2 shop:
This will place some files in your Magento root:
docker-compose.ymlThe docker infrastructure definitionbin/consoleA utility script for controlling dockerized Magento projectsconfigA folder which contains the configuration files for PHP, Nginx and phpMyAdmin
Usage
dockerize-magento2 comes with bin/console script that can be used to install Magento and to execute Magentos' bin/magento script inside the PHP docker container:
Trigger the Magento 2 installation process:
Start the docker containers:
Stop the docker containers:
Execute bin/magento inside the docker container:
For more information on how to use docker-compose visit: https://docs.docker.com/compose/
Configuration
The install action depends on some parameters such as usernames and passwords. We have put in some default values for you that will work for a quick test:
If you want to use different parameters change the values in the .env file to your needs.
After customizing the parameters just run trigger the installation with bin/console install <hostname>.
Licensing
dockerize-magento2 is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.