Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 641 Bytes

Readme.md

File metadata and controls

34 lines (23 loc) · 641 Bytes

Introduction

This is super clean docker setup for Laravel 8 application. you can adjust it according to your needs

Technologies:

  • PHP 8
  • Laravel 8 compatible
  • Mysql
  • Nginx

Steps

  • create new directory named code and put your laravel code inside code directory
  • run docker-compose up -d

Env File Setup for Laravel

DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=root

Customization

Adding Additional PHP Extentions:

Check the follwing link and customize the Dockerfile according to your need

https://github.com/mlocati/docker-php-extension-installer