Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Latest laravel docker boilerplate with phpmyadmin, nginx, redis

Notifications You must be signed in to change notification settings

AnwarHossainSR/latest-laravel-docker-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Docker Laravel MySQL Nginx Starter

Project Starter For Web Application Development with Laravel, MySQL, Nginx, and Docker.

Contributors Stargazers Issues

Features

Getting Started

Follow the instruction below to setting up your project.

Prerequisites

Clone This Template For Your Project

  • By Clicking Use This Template Button or You can Click Here

image

Usage

preview-docker-laravel

  • Create .env file for laravel environment from .env.example on src folder
  • Run command docker-compose build on your terminal
  • Run command docker-compose up -d on your terminal
  • Run command composer install on your terminal after went into php container on docker
  • Run command docker exec -it php /bin/sh on your terminal
  • Run command chmod -R 777 storage on your terminal after went into php container on docker
  • If app:key still empty on .env run php artisan key:generate on your terminal after went into php container on docker
  • To run artisan command like migrate, etc. go to php container using docker exec -it php /bin/sh
  • Go to http://localhost:8001 or any port you set to open laravel

Note: if you got a permission error when running docker, try running it as an admin or use sudo in linux