Skip to content

U-graphics/docker-laravel-nginx-php7.4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel nginx mysql php7.4 Docker starter

set up laravel nginx mysql project with docker


note: before run docker command you have to create .env file in root directory. you can rename .env.example and use it

command list

  • docker-compose up

attach to laravel container shell and run composer create-project laravel/laravel .
when installation's done, open localhost:8080 in your browser



日本語

laravel nginx mysql php7.4 dockerテンプレート

laravelとdockerでnginxサーバーで起動用のスタートテンプレートです。


注意: dockerコマンド叩く前に.envファイルを作成する必要あります、.env.exampleを参考にしてください。

docker-compose upをルートディレクトリで実行して、コンテナーが立ち上がったら、laravelのappコンテナーにshell attachし、composer create-project laravel/laravel . を実行するとlaravelプロジェクトがインストールされます。

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published