Skip to content

Marcelosmbrrr/laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a docker setup for Laravel development and can be used with any of its versions. This example was done with Laravel 10. In addition, it can be used with Inertia and Livewire.

Development

NodeJS can run on local machine for development.

  1. docker compose up -d
  2. docker-compose exec app bash
  3. Laravel deployment commands (check Laravel docs about deployment)
  4. exit
  5. npm run dev
  6. Go to localhost:8000
  7. Done!

Errors and solutions:

ERR_CONNECTION_REFUSED

Solution: delete public/hot and rebuild the application

Releases

No releases published

Packages

No packages published