In this article, I will provide a step-by-step demonstration of the process of dockerizing your micro-services project with Lumen and Laravel alongside with nginx as a web server and mysql. This is the first part of a three article series. This initial part will allow us to set up the foundation of our project, dockerize its main components and to establish the basics in order to make a fluid communication between all components.
Here is the Medium post related to this project: https://medium.com/@shadysmaoui/micro-services-with-lumen-laravel-nginx-mysql-70b3554e8068
Docker
Docker-compose
-
Lumen -v 6.x
: It is the perfect solution for building Laravel based micro-services and blazing fast APIs. It is one of the fastest micro-frameworks available. https://lumen.laravel.com -
Laravel -v 6.x
: Laravel is a web application framework with expressive, elegant syntax. https://laravel.com -
Nginx
: It is a web-server that accelerates content and application delivery, improves security, facilitates availability and scalability for the busiest web sites on the Internet. https://www.nginx.com -
We will be using
php-7.4
alongside with thefpm
procces manager. -
We will be using
mysql 8.0
and take advantage of it’s blazing speed.
For any question or emprovement please send an e-mail to Shady Smaoui [email protected].
ShadySmaoui©2020 licensed under the MIT license.