Skip to content

markwu/docker_with_laravel_53

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker with Laravel 5.3 + Supervisor

歡迎 fork 去用 :)

路過歡迎給顆星

因為還沒完全了解 Laravel 5.3 未來會持續優化

專案包含配備(include)

  1. Docker base
  2. Nginx
  3. MySQL Server
  4. Laravel 5.3 (with PHP7.0, Scheduling)
  5. Supervisor

專案安裝(install)

  1. 首先,要先安裝 docker 和 docker-compose
  2. 編輯 {專案根目錄}/.env ( $ cp -n .env.example .env )
  3. 編輯 {專案根目錄}/www/html/.env ( $ cp -n .env.example .env )
  4. 建置專案 $ docker-compose build
  5. 執行專案 $ docker-compose up -d

記得在 /etc/hosts 加入 "127.0.0.1 app",接著就能在 bowser url 使用 http://app.docker 查看 Laravel 5.3 首頁了 :)

About

Docker with Laravel 5.3 + Supervisor + PHP 7.0 + Mysql + Nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published