Public | Automated Build

Last pushed: 4 months ago
Short Description
sdfsdf
Full Description

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
Docker Pull Command
Owner
webboy89860
Source Repository

Comments (0)