Setup a Docker environment and a 1..n Symfony ^3 project(s).
curl -L https://git.io/vbLSV | bash
make
up docker-compose up
down docker-compose down
restart down & up
with a project name argument (eg. make install project=myproject)
Note: Assuming that the argument is the root name of the project. eg. /home/john/Desktop/myproject
install make up and composer install.
require Composer require.
new make up, create a new Symfony project, install and edit hosts.
db-create Create database
db-update Update database (force)
clean Remove the hosts entry.
If elk is failing it probably needs more vm allocation (see this link)
sudo sysctl -w vm.max_map_count=262144 && sudo bash -c 'echo "vm.max_map_count=262144" >> /etc/sysctl.conf'