Skip to content

This repository is sample project contain structure for laravel appl with docker containers setup. There is separate containers for MySQL, Laravel-Nginx and Redis.

Notifications You must be signed in to change notification settings

SimformSolutionsPvtLtd/DockerizedLaravel

Repository files navigation

Clone Repository

 * git clone https://github.com/SimformSolutionsPvtLtd/DockerizedLaravel.git

Build Docker Container

* docker-compose build

Up Docker Container

* docker-compose up -d

Make Controller and Repository

  • php artisan make:rc ModelName
  • Using above command create controller and repository for respective model.
  1. Open a web browser and navigate to http://localhost:8000/api/documentation to check api's using swagger
  2. Open a redis desktop manager and connect with port 6381
  3. Open Mysql Workbench and connect database with port 3306

About

This repository is sample project contain structure for laravel appl with docker containers setup. There is separate containers for MySQL, Laravel-Nginx and Redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published