Releases: wodby/docker4drupal
Releases · wodby/docker4drupal
5.0.4
Changes since 5.0.3
- New environment variable
APACHE_LIMITED_ACCESS
to removeRequire all granted
when you need to limit access by IP - PHP log errors max length set to unlimited
- Bugfix: PHP errors didn't show up in the container output
Update instructions
Update the following images' tags in your .env
file:
$APACHE_TAG=2.4-3.0.5
$PHP_TAG=####-4.2.5
$DRUPAL_TAG=####-4.2.6
5.0.3
5.0.2
Changes since 5.0.1
- Vanilla Drupal updated to 8.5.1, 7.58 (security update)
- New make actions added:
make drush [cmd]
(runs with-r /var/www/html/web
) andmake logs [svc]
- Apache:
- Updated to 2.4.33 (security update)
- New environment variable
APACHE_INCLUDE_CONF
to override virtual host config wodby/docker4wordpress#29 - New environment variable
APACHE_LIMITED_ACCESS
to removeRequire all granted
when you need to limit access by IP
- PHP:
- Drush launcher updated to 1.7.0
- Drupal console launcher updated to 1.8.0
- GRPC extension updated to 1.10.0
- Added environment variables
PHP_SESSION_
for session runtime configuration wodby/drupal-php#53 - Bugfix: global drush was used instead of drush launcher drush-ops/drush#3452
- Solr:
- New 7.2 version
- Patch update: 6.6.3
- Solr 7.x config sources updated to search_api_solr 8.x-2.0-alpha3
- Allow to change
instanceDir
for new core wodby/solr#2
- MariaDB updated to 10.2.14, 10.1.32
Update instructions
- Update the following tags in your
.env
file:$DRUPAL_TAG
,$PHP_TAG
,$SOLR_TAG
,$APACHE_TAG
,$MARIADB_TAG
- Update your
Makefile
to get new drush commands
5.0.1
5.0.0
Changes since 2.5.0
- Version bumped to 5.0 to match with Wodby stacks for documenting convenience
- We now use
.env
file where we keep images tags and other settings (ref #248) - Containers' names now have
PROJECT_NAME
prefix defined in.env
- Domains use the same
BASE_URL
defined in.env
- Added
Makefile
with commands to simplify most routine tasks (ref #248) - Default
docker-compose.yml
now covers mounted codebase use case, for vanilla Drupal additionally downloaddocker-compose.override.yml
- Resolved issue when vanilla Drupal copying to the volume interrupted during the initial start (ref wodby/drupal#6)
- Resolved most of permissions issues:
- new default
wodby
user has uid/gid1000
that matches with the default user for most Linux distributions - for macOS users we now have
-dev-macos
versions of images with uid/gid501:20
that matches default macOS user - added instructions for windows users (ref #29 (comment))
- new default
- PHP:
- Container default user has been changed to
wodby
(uid/gid1000
), see https://github.com/wodby/php#users-and-permissions for more details - PHP updated to 7.1.15, 7.0.28, 5.6.34 (security updates)
- Rebased to Alpine Linux 3.7
-dev
images used by default withsudo
allowed for all commands forwodby
user- You can monitor PHP with NewRelic APM
allow_url_fopen
anddefault_socket_timeout
is now configurable- New php extensions added: newrelic, grpc, ds
- Global drush freezed to 8.x to ensure Drupal 7 compatibility
- Drupal console launcher freezed to 1.6.1
- Drush launcher updated to 0.5.1
- Added postgresql client bins (pg_dump, pg_restore, ...)
- Added redis-cli
- Updated php extensions: amqp 1.9.3, redis 3.1.6, mongodb 1.4.0, apcu 5.1.10
- Vanilla Drupal updated to 8.4.5, 7.57
- Added
5.3-dev
image - Deprecated variables dropped (old > new):
PHP_APCU_ENABLE > PHP_APCU_ENABLED PHP_FPM_SLOWLOG_TIMEOUT > PHP_FPM_REQUEST_SLOWLOG_TIMEOUT PHP_FPM_MAX_CHILDREN > PHP_FPM_PM_MAX_CHILDREN PHP_FPM_START_SERVERS > PHP_FPM_PM_START_SERVERS PHP_FPM_MIN_SPARE_SERVERS > PHP_FPM_PM_MIN_SPARE_SERVERS PHP_FPM_MAX_SPARE_SERVERS > PHP_FPM_PM_MAX_SPARE_SERVERS PHP_FPM_MAX_REQUESTS > PHP_FPM_PM_MAX_REQUESTS PHP_FPM_STATUS_PATH > PHP_FPM_PM_STATUS_PATH
- Container default user has been changed to
- MariaDB updated to 10.1.31, 10.2.12 and rebased to Alpine Linux 3.7
- Nginx updated to 1.13.9 and rebased to Alpine Linux 3.7
- Redis updated to 4.0.8
- Varnish:
- The following environment variables changed names (old version no longer supported), old > new:
VARNISHD_THREAD_POOLS > VARNISHD_PARAM_THREAD_POOLS VARNISHD_THREAD_POOL_ADD_DELAY > VARNISHD_PARAM_THREAD_POOL_ADD_DELAY VARNISHD_THREAD_POOL_MIN > VARNISHD_PARAM_THREAD_POOL_MIN VARNISHD_THREAD_POOL_MAX > VARNISHD_PARAM_THREAD_POOL_MAX
- Changed default values:
VARNISHD_PARAM_THREAD_POOL_ADD_DELAY from 2 to 0.000 VARNISHD_PARAM_THREAD_POOLS from 1 to 2 VARNISHD_PARAM_THREAD_POOL_MAX from 1000 to 5000
- Added additional env vars that control varnishd params (wodby/varnish#1)
- The following environment variables changed names (old version no longer supported), old > new:
stop_grace_period
increased to 30s for MariaDB and PostgreSQL- Bugfix: auth issue in Apache (wodby/php-apache#1)
Update instructions
Way too many things changed, see updated quick start guide
2.5.0
Changes since 2.4.0
- PHP:
- PHP updated to 7.1.12, 7.0.26, 5.6.32
- PHP extensions updated: memcached 3.0.4, ast 0.1.6
- APCU can now be configured via env vars in 5.6 as well
- Added packages: tig, nano, tmux, less, libjpeg-turbo-utils
- PHPunit deleted from image to avoid composer conflicts
- Env vars naming fixes (old names still supported), old > new:
PHP_APCU_ENABLE > PHP_APCU_ENABLED PHP_FPM_SLOWLOG_TIMEOUT > PHP_FPM_REQUEST_SLOWLOG_TIMEOUT PHP_FPM_MAX_CHILDREN > PHP_FPM_PM_MAX_CHILDREN PHP_FPM_START_SERVERS > PHP_FPM_PM_START_SERVERS PHP_FPM_MIN_SPARE_SERVERS > PHP_FPM_PM_MIN_SPARE_SERVERS PHP_FPM_MAX_SPARE_SERVERS > PHP_FPM_PM_MAX_SPARE_SERVERS PHP_FPM_MAX_REQUESTS > PHP_FPM_PM_MAX_REQUESTS PHP_FPM_STATUS_PATH > PHP_FPM_PM_STATUS_PATH
- New
-dev
image tags (replacing-debug
) compiled with--enable-debug
- Drush launcher added
- Git email and name now can be configured via environment variables
- Nginx:
- Nginx updated to 1.13.7, 1.12.2
- New env var
NGINX_NO_DEFAULT_HEADERS
to hide default headers - New env var
NGINX_LOG_FORMAT_SHOW_REAL_IP
to show real ip in access logs when running behind a proxy - New env var
NGINX_DRUPAL_FILE_PROXY_URL
to set up static files proxy
- MariaDB:
- New MariaDB 10.2.11
- MariaDB updated to 10.1.29
- MariaDB 10.2 is now default
- Optimized default config (my.cnf) values
- New environment variables to configure recovery options
- Default user/group in a container now
mysql
- Solr:
- New Solr versions 7.0.1 and 7.1.0 have been added
- Solr versions updated and freezed: 6.6.2, 6.5.1, 6.4.2, 6.3.0, 5.5.5, 5.4.1
- Config set source search_api_solr updated to 8.x-1.2
- Redis:
- Redis updated to 3.2.11, 4.0.2
- Default redis version is now 4.0
- Varnish:
- Varnish updated to 4.1.9
- Cache hash id now respects protocol (http/https)
- Apache updated to 2.4.29
- Vanilla Drupal updated to 8.4.3
- PostgreSQL service added (10.1 and 9.6)
- OpenSMTPD now supports relay auth without password
Update instructions from 2.4.0
- MariaDB 10.2 is now default, if you used 10.1 before it would be safer to keep the same version
2.4.0
Changelog
- User
www-data
is now default in php, nginx, apache containers - Container
wodby/drupal-apache
has been replaced with php-apache - New services for php profiling: blackfire for integration with blackfire.io and webgrind (Xdebug frontend)
- Vanilla Drupal updated to 8.4.0
- MariaDB and its client updated to 10.1.26
- Redis 4.0 version added
- Apache updated to 2.4.28
- Athenapdf versions freeze to 2.10.0
- Nginx:
- Updated to 1.13.6
- Nginx config revamped: backstream is now defained in drupal.conf
- Default
client_max_body_size
set to32m
- Bugfix: broken static files on Drupal's 8 update.php page
- PHP:
- Updated to 7.0.24, 7.1.10
- Number of default PHP-FPM workers set to 8
- Core extension pcntl is now enabled in PHP 7.x
- Libressl added
- New extension geoip
- Default
post_max_size
,upload_max_filesize
set to32m
- Optimized default opcache settings
- New env var
PHP_MAX_FILE_UPLOADS
to controlmax_file_uploads
- You can now enable PHP slowlog via environment variable PHP_FPM_SLOWLOG_TIMEOUT
- PHPUnit updated to 6.3
- Extensions updated: ast 0.1.5, yaml 2.0.2, redis 3.1.4, mongodb 1.3.0
- Additional environment variables for Xdebug extension configuration including tracing and profiling
- Drush modules added: registry rebuild and patchfile
- Environment varibles now cleared in PHP-FPM but
PHP_FPM_CLEAR_ENV=no
added by default - Bugfix: apcu (PHP 7.x) could cause segfaults in some cases
- Bugfix: missing path to CA certificates in ldap config
- Varnish
- Env vars for daemon launch params now have prefix
VARNISHD_
to avoid collisions - New env vars
VARNISH_EXCLUDE_URLS
andVARNISH_STATIC_FILES
for customization - Default exclude URLs now consider language prefixes
- Bugfix: duplicated X-Forwarded-For header
- Bugfix: unrestricted purge/ban, now allowed only from internal network
- Env vars for daemon launch params now have prefix
2.3.0
Changelog
- New default container Portainer, simple UI for containers management
- PHP updates: 7.1.7, 7.0.21, 5.6.31 with security fixes
- Nginx updates: 1.13.3, 1.12.1 with a fix in the range filter vulnerability (CVE-2017-7529).
- Apache2 updates: 2.4.27
- Vanilla Drupal updates: 8.3.5
- Solr: new versions 6.6 and 6.5 for Drupal 8
- Solr: search_api_solr version update to 8.x-1.0 (configs used from this version)
.localhost
,.local
,.loc
added as default trusted hosts for Vanilla Drupal 8- Nginx: Content-Type is now set only if not empty wodby/drupal-nginx#27
- Bugfix: Vanilla Drupal always re-synced Drupal sources wodby/drupal#2
- Solr versions are now frozen https://github.com/wodby/solr#versions
- Redis version is now frozen https://github.com/wodby/redis#versions
2.2.0
Changelog
- New Apache 2.4 container
- New Node.js container, for drupal nodejs module
- New AthenaPDF container, drop-in replacement for wkhtmltopdf
- New rsyslog to stream watchdog logs
- New adminer container (simplified version of phpmyadmin)
- Solr: new 5.4 version required by search_api_solr module for Drupal 7
- Drupal: updated Vanilla Drupal 8.3.4, 7.56
- PHP: update PHP7: 7.0.20, 7.1.6
- PHP: 5.6, 7.0, 7.1 images rebased to Alpine Linux 3.6 and now use LibreSSL instead of OpenSSL
- PHP: extension are now frozen, see https://github.com/wodby/php
- PHP: runtime libraries are now frozen
- PHP: mongoDB extension downgraded to 1.1.10
- PHP: imagick removed from 5.3
- PHP: expose header now disabled by default
- PHP: dropped few environment variables
- PHP: APCu extension is now configurable
- Nginx: new version 1.13, 1.12
- Nginx: 1.10 dropped
- Nginx: options to allow all XML endpoints
- Nginx: you can now override include of drupal.conf file
- Nginx: additional configuration for xmlrpc endpoint
- MariaDB: revamped optimized configuration
- Bug fix: resolved imagick segfault caused by a bug in ImageMagick library
- Bug fix: private files not accessible
- Bug fix: some environment variables missed in SSH container
- Bug fix: authorize.php endpoint did not work
- New way to improve volumes performance on macOS: http://docs.docker4drupal.org/en/latest/macos
2.1.0
Changelog
- New 2.1.0 images for php, nginx, mariadb, redis and varnish
- New memcached image
- Updated documentation
- New Vanilla Drupal option is now default
- traefik.yml to run multiple projects simultaneously