Skip to content

Chel7ch/docker-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a166d81 · Sep 16, 2023

History

4 Commits
Sep 16, 2023
Sep 16, 2023
Sep 16, 2023
Mar 8, 2023
Mar 8, 2023
Mar 8, 2023
Sep 16, 2023

Repository files navigation

docker-laravel

docker-compose up -d or make start etc.

  • nginx - :80
  • mysql - :3306
  • php - :9000
  • redis - :6379
  • phpmyadmin - :8082
  • mailhog - :8025

Three additional containers Composer, NPM, and Artisan commands e.g.:

  • docker-compose run --rm composer update
  • docker-compose run --rm npm run dev
  • docker-compose run --rm artisan migrate

.env : need to change the DB_HOST variable and specify the service that will run MySQL in it. In our case, we used the "mysql" service name. Hence DB_HOST=mysql

laravel9: need to choose vite or mix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published