docker nginx server setup using nanoninja/docker-nginx-php-mysql
git clone https://github.com/nanoninja/docker-nginx-php-mysql.git
Go to the project directory
cd docker-nginx-php-mysql
cp web/app/composer.json.dist web/app/composer.json
sudo docker-compose up -d
Test it in browser http://localhost:8000 http://localhost:8080 PHPMyAdmin (username: dev, password: dev)
sudo docker-compose down -v