This repository provides a Docker Compose setup for running Laravel applications with the following services:
- Nginx: Web server.
- MySQL: Database server.
- PHP: PHP-FPM for Laravel application.
- Docker and Docker Compose installed.
-
Clone this repository:
git clone https://github.com/your-username/laravel-docker.git cd laravel-docker
-
Update the following variables in the .env file
-
Start the services:
docker-compose up -d
Feel free to open issues or submit pull requests for improvements.