A docker based LEMP/LAMP dev environment

After building a local multi platform dev environment based on vagrant, I wanted to learn and try docker.

So I built SHIP, a docker based lamp/lemp stack. It includes apache2, nginx, php-fpm, mysql, phpmyadmin and mailhog.

It can work on Mac, Linux and Windows with WSL2.

It also comes with a shell script template that will create a virtual host. On windows, provided that gsudo.exe is installed on your system, it will add the custom domain to the hosts file as well.

Running websites through the same set of containers like this is unconventional. Docker is meant to be used on a per project basis, where each project has its own containers.

However, this project was started to help a team of developers to learn docker and transition easily to it. In that respect, it worked pretty well.