Giter Site home page Giter Site logo

pawelkoston / docker-magento2-php Goto Github PK

View Code? Open in Web Editor NEW

This project forked from markshust/docker-magento2-php

0.0 2.0 0.0 69 KB

This image is built from the official php repository and contains PHP configurations for Magento 2.

License: MIT License

Shell 92.72% PHP 7.28%

docker-magento2-php's Introduction

Versions

Description

This image is built from the official php repository and contains PHP configurations for Magento 2.

What's in this image?

This image installs the following base packages:

  • composer
  • php-fpm

This image also installs the following PHP extensions, which are the minimally required extensions to install and run Magento 2:

  • bcmath
  • gd
  • intl
  • mbstring
  • mcrypt
  • pdo_mysql
  • soap
  • xsl
  • zip

Variables

The following variables may be set to control the PHP environment:

  • PHP_MEMORY_LIMIT: (default 2048M) Set the memory_limit of php.ini
  • PHP_PORT: (default: 9000) Set a custom PHP port
  • PHP_PM: (default dynamic) Set the process manager
  • PHP_PM_MAX_CHILDREN: (default: 10) Set the max number of children processes
  • PHP_PM_START_SERVERS: (default: 4) Set the default number of servers to start at runtime
  • PHP_PM_MIN_SPARE_SERVERS: (default 2) Set the minumum number of spare servers
  • PHP_PM_MAX_SPARE_SERVERS: (default: 6) Set the maximum number of spare servers
  • APP_MAGE_MODE: (default: default) Set the MAGE_MODE

One-off containers

This image can run one-off PHP commands, such as:

docker run --rm --name php-test mageinferno/magento2-php echo "Hello world"

Application code is placed in /var/www/html. You can also attach a volume to that location, then run Magento-specific commands such as the Magento CLI tool:

docker run --rm --name mysite -v /Users/username/Sites/mysite/app/code:/var/www/html/app/code mageinferno/magento2-php:{PHPVERSION}-fpm-0 ./bin/magento

Docker Compose

Please see https://github.com/mageinferno/magento2-docker-compose for more detailed instructions and an example development environment using Docker Compose.

docker-magento2-php's People

Contributors

angeldm avatar dverkade avatar erfanimani avatar jasonhildebrand avatar markshust avatar mkovel avatar phedoreanu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.