Releases: JeroenBoersma/docker-compose-development
Disabling old PHP versions and adding PHP 8.4
This will disable all older than 7.4 php versions by default, everything is commented out so it should be easy to spot the differences.
It will also add PHP 8.4 as a version to the stack.
- fixes #161
Node support and custom workspace location + fixes
- Node support via
bin/dev node
it runs in a isolated container, no php - choose your workspace freely, defaults to workspace in repo
- updated Magento 2 nginx rules
- fixed wrong mountpoint for local mysql settings
- updated Mac setup issue
- removed os specific mount in favor of
docker volume
- listen on all local interfaces for port 443/80 to support ipv6 enabled devices
Minor fixes
- naming was wrong
Varnish support, custom commands and enable/disable custom php extensions
+ 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
Varnish support
We don't support varnish per project, it's a global varnish and you should be aware of that.
Shorts
- add your
varnish.vcl
(bootstrap or working copy) inconf/varnish.vcl
dev down && dev up
Longer: (which gives more control)
- create a
conf/varnish.vcl
vcl 4.0;
backend default {
.host = "web";
.port = "80";
}
dev down && dev up
- use
dev cp varnishfile.vcl varnish:/
dev exec varsnishadm
vcl.load myvcl /varnishfile.vcl
vcl.use myvcl
Custom commands
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.
Show setup message in `dev up`
If people probably didn't run setup, ask them and give a hint.
Silent container start and new docs
- updated docs to match
.env
requirement - no more messages if you start a console/mysql/php/magerun/....
Added changephp script
Use changephp {phpversion}
to change the php version for the current project.
Added setup script
You can use bin/dev setup
to do a initial setup.
Will
- create database volume
- create random root password for MySQL
- set systemwide PHP version
- ask for your domain extension (default .localhost)
- is fallback compatible with current
- saves to .env
Reworked PHP versioning
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`)
WSL support
210.3.0 Support windows