Clone and `bin/dev up`. Quickly start of developing locally with Nginx, PHP, Blackfire, Percona, Mailhog and Redis. Out of the box support for Magento2 Developer Box
MIT License
Bot releases are visible (Hide)
Published by JeroenBoersma over 5 years ago
bin/dev node
it runs in a isolated container, no phpdocker volume
Published by JeroenBoersma almost 6 years ago
Published by JeroenBoersma about 6 years ago
+ Varnish support
+ Enabling/disabling custom php modules on running containers
* Updated Magento 2 configuration to latest
* tweaks for better passing of parameters
* better support for interactive scripts
We don't support varnish per project, it's a global varnish and you should be aware of that.
Shorts
varnish.vcl
(bootstrap or working copy) in conf/varnish.vcl
dev down && dev up
Longer: (which gives more control)
conf/varnish.vcl
vcl 4.0;
backend default {
.host = "web";
.port = "80";
}
dev down && dev up
dev cp varnishfile.vcl varnish:/
dev exec varsnishadm
vcl.load myvcl /varnishfile.vcl
vcl.use myvcl
Add custom commands to your global stack and run them with dev COMMAND
Copy your custom commands which need PHP for instance to WORKSPACE/bin
Give them execute rights and run them with dev COMMAND
It will run in the local version of PHP, so in your PHP project it' use the correct PHP version.
Published by JeroenBoersma about 6 years ago
If people probably didn't run setup, ask them and give a hint.
Published by JeroenBoersma about 6 years ago
.env
requirementPublished by JeroenBoersma about 6 years ago
Use changephp {phpversion}
to change the php version for the current project.
Published by JeroenBoersma about 6 years ago
You can use bin/dev setup
to do a initial setup.
Will
Published by JeroenBoersma about 6 years ago
Instead of domain extension based PHP version you can now change the PHP version by just touching a file on your filesystem.
Also closed a few long running issues.
+ zero downtime php version change
* configuration of nginx is way cleaner
* php70 is the default, `touch workspace/.php71` to switch to PHP 7.1
+ commandline commands are also aware of these settings(no need for specific version commands anymore)
* moved some files to build/dist to cleanup root
* fixed several minor issues
+ documentation on ufw xdbug
+ added Imagick to all PHP 7+ php images, `dev update`)
Published by JeroenBoersma about 6 years ago
Published by JeroenBoersma almost 7 years ago
So, Google bought .dev
and enabled HSTS
Published by JeroenBoersma over 7 years ago
Published by JeroenBoersma over 7 years ago