This is a LEMP stack infrastructure on docker.
- nginx 1.13.1
- mysql 5.6
- php-fpm 5.6
You must have Docker installed. Check the Installation Guide.
- Copy the PHP project into the docroot folder.
- Build the docker infrastructure
docker-compose build
- Run
docker-compose build up -d
- Open the link http://localhost:8080/.
- HOST: mysql
- PORT: 3306
- USERNAME: root
- PASSWORD: root@mysqlserver (update password in mysql dockerfile)