Skip to content

Releases: JeroenBoersma/docker-compose-development

Disabling old PHP versions and adding PHP 8.4

21 Nov 10:05
c384d30
Compare
Choose a tag to compare

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.

Node support and custom workspace location + fixes

17 Jun 10:10
Compare
Choose a tag to compare
  • 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

14 Dec 10:54
Compare
Choose a tag to compare
  • naming was wrong

Varnish support, custom commands and enable/disable custom php extensions

04 Sep 11:04
6f54f79
Compare
Choose a tag to compare
+ 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) in conf/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`

31 Jul 19:59
3d3e153
Compare
Choose a tag to compare

If people probably didn't run setup, ask them and give a hint.

Silent container start and new docs

31 Jul 19:05
8b7f198
Compare
Choose a tag to compare
  • updated docs to match .env requirement
  • no more messages if you start a console/mysql/php/magerun/....

Added changephp script

31 Jul 08:42
46f5d28
Compare
Choose a tag to compare

Use changephp {phpversion} to change the php version for the current project.

Added setup script

30 Jul 10:51
e61df92
Compare
Choose a tag to compare

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

27 Jul 14:14
23795ae
Compare
Choose a tag to compare

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.

https://github.com/JeroenBoersma/docker-compose-development/blob/master/docs/how-to-use-different-php-versions.md

+ 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

27 Jul 13:41
c7953da
Compare
Choose a tag to compare
210.3.0

Support windows