Skip to content

Create services Laravel, NextJs and Mysql with Docker Compose

License

Notifications You must be signed in to change notification settings

aronei44/docker-laravel-nextjs-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watch for Main Repository

docker-laravel-nextjs-mysql

Create services Laravel, NextJs and Mysql with Docker Compose

Requirement

  • Git Bash
  • Docker Desktop

Installation

git clone https://github.com/aronei44/docker-laravel-nextjs-mysql.git your-project-name
cd your-project-name
cp .env.sample .env
docker-compose up --build -d

you dont have a database migrated. now you can running artisan command like below

Running artisan command

you can running artisan command by :

docker container exec php php artisan command

example for get route list:

docker container exec php php artisan route:list

++ Feature

  • Hot Reload NextJs. you dont need rebuild container in development

Development

Contributing

you can contribute by clone this repo, create some changes and create PR

please dont change any dockerfile or docker-compose if you dont know about them

Thanks

About

Create services Laravel, NextJs and Mysql with Docker Compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published