Centos(Nginx + PHP5.6)
you can easy install PHP Framework (ex: Laravel)
you can use xdebug mode by PHPStorm(2017.2 or latest)
this project use management by docker-compose
you can use this for Laravel-5 PHP Framework
~ $ mkdir {project-name}
~ $ cd {project-name}
~/{project-name} $ git clone https://github.com/imagine10255/imdock-cap56.git
~/{project-name} $ cd imdock-cap56
~/{project-name}/imdock-cap56 $ vim ./docker-compose-yml
~/{project-name}/imdock-cap56 $ docker-compose up
~/{project-name}/imdock-cap56 $ vim ./site-enable/default.conf
~/{project-name}/imdock-cap56 $ vim ./docker-compose-yml
~/{project-name}/imdock-cap56 $ vim ./conf/apache.conf
~/{project-name}/imdock-cap56 $ docker-compose up -d
{project-name}
├── imdock-cap56
│ ├── conf/
│ ├── sites-enable/(apache website setting)
│ ├── website(sample phpinfo)
│ ├── Dockerfile
│ └── docker-compose.yml
└── {project-dir}
└── ...
#if you not have group network, you can create this, and other docker-compose use this network setting
~ $ docker network create --driver bridge imdockgroup
You just look at this directory you will understand (config/*)
When the settings are complete, restart the container
Content type
Image
Digest
Size
450.3 MB
Last updated
about 9 years ago
docker pull imagine10255/imdock-cap56