Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lib4u/docker-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

Laravel + Nginx + Mysql in docker template

  • Laravel latest version
  • PHP FPM 8.2
  • Nginx latest
  • Mysql latest

Get this template

git clone https://github.com/zodigancode/docker-laravel.git docker-laravel
cd docker-laravel
docker compose up -d

You need to run the following commands from the console of the laravel_php container. To start bash within docker container, use the command:

docker exec -it laravel_php sh

Run laravel installation with container console:

composer create-project laravel/laravel

Change host from localhost to mysql, dbname, username and password set to laravel in .env file

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /