2017 © Pedro Peláez
 

magento2-component dockerize-magento2

Docker infrastructure definitions for Magento 2

image

brandontamm/dockerize-magento2

Docker infrastructure definitions for Magento 2

  • Thursday, January 12, 2017
  • by brandon.tamm@gmail.com
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 44 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Dockerize Magento 2

A composer package for dockerizing Magento 2, (*1)

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., (*2)

Package Name

arvatoscm/dockerize-magento2, (*3)

Software Requirements

For Linux users you must have a recent version of docker and docker-compose installed., (*4)

If you are a Mac or Windows user, use the Docker Toolbox., (*5)

Installation

Add arvatoscm/dockerize-magento2 to your existing Magento 2 shop:, (*6)

composer require --ignore-platform-reqs arvatoscm/dockerize-magento2
chmod +x bin/console

This will place some files in your Magento root:, (*7)

  • docker-compose.yml The docker infrastructure definition
  • bin/console A utility script for controlling dockerized Magento projects
  • config A 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:, (*8)

Trigger the Magento 2 installation process:, (*9)

bin/console install <hostname>

Start the docker containers:, (*10)

bin/console start

Stop the docker containers:, (*11)

bin/console stop

Execute bin/magento inside the docker container:, (*12)

bin/console exec [arguments]

For more information on how to use docker-compose visit: https://docs.docker.com/compose/, (*13)

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:, (*14)

DATABASE_NAME="magento2dockerized"
DATABASE_USER="magento"
DATABASE_PASSWORD="enAVINa2"
DATABASE_ROOT_PASSWORD="enAVINa2"

ADMIN_USERNAME="admin"
ADMIN_FIRSTNAME="Admin"
ADMIN_LASTNAME="Inistrator"
ADMIN_EMAIL="johndoe@example.com"
ADMIN_PASSWORD="enAVINa2"

DEFAULT_LANGUAGE="en_US"
DEFAULT_CURRENCY="EUR"
DEFAULT_TIMEZONE="Europe/Berlin"

BACKEND_FRONTNAME="management"

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>., (*15)

Licensing

dockerize-magento2 is licensed under the Apache License, Version 2.0. See LICENSE for the full license text., (*16)

The Versions

12/01 2017

dev-develop

dev-develop https://github.com/arvatoSCM/dockerize-magento2

Docker infrastructure definitions for Magento 2

  Sources   Download

Apache-2.0

12/01 2017

dev-master

9999999-dev https://github.com/arvatoSCM/dockerize-magento2

Docker infrastructure definitions for Magento 2

  Sources   Download

Apache-2.0

12/01 2017

v1.2.1

1.2.1.0 https://github.com/arvatoSCM/dockerize-magento2

Docker infrastructure definitions for Magento 2

  Sources   Download

Apache-2.0

12/01 2017

v1.2.0

1.2.0.0 https://github.com/arvatoSCM/dockerize-magento2

Docker infrastructure definitions for Magento 2

  Sources   Download

Apache-2.0

24/11 2016

v1.1.0

1.1.0.0 https://github.com/arvatoSCM/dockerize-magento2

Docker infrastructure definitions for Magento 2

  Sources   Download

Apache-2.0

30/03 2016

dev-feature/lets-encrypt

dev-feature/lets-encrypt https://github.com/arvatoSCM/dockerize-magento2

Docker infrastructure defintions for Magento 2

  Sources   Download

Apache-2.0

29/03 2016

v1.0.0

1.0.0.0 https://github.com/arvatoSCM/dockerize-magento2

Docker infrastructure defintions for Magento 2

  Sources   Download

Apache-2.0