Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This project is a simple blog application using Laravel, MySQL, and Nginx, containerized with Docker.

License

Notifications You must be signed in to change notification settings

ahadpaksoy/blog-app

Repository files navigation

Blog Application

Overview

This project is a simple blog application using Laravel, MySQL, and Nginx, containerized with Docker.

Technologies

  • Backend: Laravel
  • Database: MySQL
  • Web Server: Nginx
  • Containerization: Docker

Getting Started

Prerequisites

  • Docker
  • Docker Compose

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
  2. Configure the .env file in the Laravel project as needed.

  3. Start the containers:

    docker-compose up -d

Configuration

  • Nginx: The Nginx configuration is located in nginx/default.conf.
  • Laravel: The Laravel application code is located in the root directory.

Accessing the Application

  • Open a browser and navigate to http://localhost to access the blog application.

Stopping the Application

To stop the containers, run:

docker-compose down

Building the Docker Images

If you make changes to the Dockerfile or other configuration files, rebuild the images using:

docker-compose build

Troubleshooting

If you encounter issues, check the logs with:

docker-compose logs

For specific service logs, use:

docker-compose logs <service-name>

Contributing

Feel free to open issues or submit pull requests if you have suggestions or improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This project is a simple blog application using Laravel, MySQL, and Nginx, containerized with Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published