In this project, I will provide a demonstration of the process of dockerizing your micro-services project with PHP and Laravel alongside with nginx as a web server and mysql. This 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
-
Laravel -v 7.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 Lucas Moraes Campos [email protected].