cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.x optimized Docker automated build

Magento 2.x optimized Docker automated build

I've recently posted a Magento-ready docker automated build to Docker hub and am interested in feedback

 

funkygibbon/magento2

 

It's an nginx-php container which aims to provide a fast and secure foundation for deploying Magento to either development or production.  Based on Phusion's BaseImage, it includes at time of writing:

 

  • PHP 7.0
  • Nginx 1.11.5
  • OpenSSL 1.0.2j
  • ngx_pagespeed latest-stable
  • Mozilla's intermediate SSL profile
  • composer 1.2.1
  • mandatory cron tasks pre-configured
  • exim
  • SSH optional

Most important aspects of an nginx / php webserver are configurable at container start, such as memory limits, file upload sizes, user permissions and mail delivery via SMTP smarthost. Please see parent image documentation for all configuration options.

 

It is also designed to play nicely with reverse proxy containers such as https://github.com/jwilder/nginx-proxy/ 

 

LetsEncrypt support is planned for near future, and I welcome contributors to the github page, as well as comments or suggestions as to how I could make this container more helpful.  I have also considered automatically installing latest Magento if the root directory does not contain Magento.  

 

Pull requests and comments greatly appreciated.