My self used Docker Dev Stack (wit NginX, PHP7.1/PHP7.2, MySQL etc.) for different systems. Feel free to use.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7fac297 Oct 28, 2018

Docker Dev Stack

Build Status

The purpose of this development stack with Docker images is to help setting up a local environment for development of PHP/MySQL projects. It's not meant to be used in production.

Supported systems

Special NginX images are provided for usage in different systems;

System Docker Image Tag(s) Index Example usage
Symfony 4 bertoost/nginx:symfony public/index.php Click here
Symfony 2 & 3 bertoost/nginx:symfony-development web/app_dev.php Click here
  bertoost/nginx:symfony web/app.php
Craft CMS bertoost/nginx:craft public/index.php Click here
MODX CMS bertoost/nginx:modx public/index.php Click here

The corresponding NginX image tags could be found here on Docker hub.

Stack contents

The stack contains a setup for the next Docker services;

  • NginX
    • Base PHP projects support
    • Symfony configuration (not with tested v4.0 yet)
    • Craft CMS projects
    • MODX CMS projects
  • PHP 7.1.x / 7.2.x (FPM)
    • Libraries included:
      • Locales: en_US and nl_NL supported (currently)
      • ImageMagic
      • GD support
      • APCu support
      • LibSodium support
    • Composer installed
    • Development additions:
      • Xdebug enabled
      • Blackfire available
  • MySQL
    • Port 3306 is mapped from your host-machine
  • Mailhog (catching mail)
  • Portainer (UI for your Docker setup)

More to read before...

Before you use these dev stack, please read the following topics.