Skip to content

A Docker Compose setup for running Laravel applications with Nginx, MySQL, and PHP. Perfect for local development and testing.

Notifications You must be signed in to change notification settings

aaykacc/laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Docker Compose Setup

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.

Prerequisites

  • Docker and Docker Compose installed.

Setup

  1. Clone this repository:

    git clone https://github.com/your-username/laravel-docker.git
    cd laravel-docker
    
  2. Update the following variables in the .env file

  3. Start the services:

    docker-compose up -d
    

Contributing

Feel free to open issues or submit pull requests for improvements.

About

A Docker Compose setup for running Laravel applications with Nginx, MySQL, and PHP. Perfect for local development and testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published