Environment for framework php such as laravel, cakephp, ... using docker with nginx, mysql
- install Docker-CE
- put your project into
htdocsfolder - if you use laravel framework, please remove
cake.conffile or else removelaravel.conf. And then rename toserver.conf - I used this environment for cakephp and laravel, so can have error if use other framework. You can edit line 'root' and 'index' of file in
conf.dfolder or contact me.
docker-compose build
docker-compose up -d
http://localhost
http://localhost:8080