Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 

Magento 2 PHP FPM

Magento2 docker container

Environment variables:

  WWW_DATA_UID 1000
  WWW_DATA_GID 1000

  PHP_MEMORY_LIMIT 2G
  APP_MAGE_MODE developer
  PHP_PORT 9000
  PHP_PM dynamic
  PHP_PM_MAX_CHILDREN 10
  PHP_PM_START_SERVERS 4
  PHP_PM_MIN_SPARE_SERVERS 2
  PHP_PM_MAX_SPARE_SERVERS 6
  
  XDEBUG_PORT 9000
  XDEBUG_NESTING_LEVEL 512

For xdebug there are the following config settings:

  XDEBUG_CONFIG
  PHP_IDE_CONFIG

To run a command on the machine with the www-data user run.sh. For example:

  $ docker exec -it <container_id_or_name> run.sh php bin/magento
  $ docker exec -it <container_id_or_name> run.sh composer

About

Magento2 docker container

Resources

License

Releases

No releases published

Packages

No packages published