Skip to content

This is the docker setup i use for my development purpose

License

Notifications You must be signed in to change notification settings

ksaurabhsinha/docker_dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Dev

This is the LEMP (Linux, Nginx, MySQL, PHP) docker setup I use for development. This is majorly focused on Laravel but can be modified very easily.

Pre-requisite

Install Docker Daemon, docker-machine, docker-compose and Virtualbox

Clone the repository

$ git clone https://github.com/ksaurabhsinha/docker_dev.git

Customize the configuration by renaming the .env.example to .env and edit according to your requirements.

Handling multiple projects simultaneously

$ mkdir project_name
$ cd project_name
$ git clone https://github.com/ksaurabhsinha/docker_dev.git .
$ make install
$ mkdir project_name_2
$ cd project_name_2
$ git clone https://github.com/ksaurabhsinha/docker_dev.git .
$ make install

Initialize the setup

make install

Enjoy