My self used Docker Dev Stack (wit NginX, PHP7.1/PHP7.2, MySQL etc.) for different systems. Feel free to use.
Shell PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
logs
projects/phpinfo
scripts
stack
.editorconfig
.gitignore
.travis.yml
README.md
default.env
docker-compose.yml

README.md

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.