⚠️ ⚠️ ⚠️ depereceted. docker-laravel development enviroment
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
webroot
.gitignore
.gitmodules
Dockerfile
LICENSE
README.md
common.yml
ctl
docker-compose.yml

README.md

The laravel development environment using docker-compose

Currently this project consists of:

Prerequire tools:

  • docker(1.10+)
  • docker-compose(1.6+)

#0x1 Create project of laravel by yourself

You could run the command like follows to create a laravel project named project under the path ./webroot :

$ docker-compose up -d
$ ./ctl apache #enter container
$ laravel new project #create project

Note:

you can also change the project name project to others such as blog or www in the file ./httpd.conf

#0x2 The more fast way to enter these container

just to use script ctl:

$ ./ctl apache  #enter the apahce container
$ ./ctl mysql   #enter the mysql  container
$ ./ctl redis   #enter the redis container