This project is a simple blog application using Laravel, MySQL, and Nginx, containerized with Docker.
- Backend: Laravel
- Database: MySQL
- Web Server: Nginx
- Containerization: Docker
- Docker
- Docker Compose
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Configure the
.envfile in the Laravel project as needed. -
Start the containers:
docker-compose up -d
- Nginx: The Nginx configuration is located in
nginx/default.conf. - Laravel: The Laravel application code is located in the root directory.
- Open a browser and navigate to
http://localhostto access the blog application.
To stop the containers, run:
docker-compose downIf you make changes to the Dockerfile or other configuration files, rebuild the images using:
docker-compose buildIf you encounter issues, check the logs with:
docker-compose logsFor specific service logs, use:
docker-compose logs <service-name>Feel free to open issues or submit pull requests if you have suggestions or improvements.
This project is licensed under the MIT License - see the LICENSE file for details.