Skip to content

Releases: wodby/docker4drupal

5.1.0

25 Jun 03:38
Compare
Choose a tag to compare

😨UPDATED Jun 25th: .env file in docker4drupal.tar.gz had old images tags, re-uploaded #304
😱UPDATED Jun 29th: .env file in docker4drupal.tar.gz missed PHP 7.2, re-uploaded #306

Changes since 5.0.6

  • Vanilla Drupal updated to 8.5.4
  • PHP
    • ⭐️Added new PHP 7.2
    • Added php tidy extension
    • Added tideways xhprof extension wodby/drupal-php#49 (disabled by default)
    • auto_prepend_file and auto_append_file are now configurable
    • Updated PHP extensions: GRPC 1.12.0, igbinary 2.0.6, mongodb 1.4.4
  • MariaDB:
    • New version 10.3 added (10.3.7)
    • MariaDB updates: 10.2.15, 10.1.34
    • ⭐️Latest MariaDB 10.1 now works with bind mounts on macOS/Win, this version is now default
    • optimizer_prune_level and optimizer_search_depth are now configurable wodby/mariadb#4
    • ⭐️Default innodb_buffer_pool_size set to 128M that should significantly decrease memory usage by MariaDB container
    • Default innodb_buffer_pool_instances set to 1
  • Nginx:
    • Added new Nginx 1.15
    • ⭐️Added mog_pagespeed module. Disabled by default, to enable uncomment NGINX_PAGESPEED=on
    • Added new modules:
http_image_filter_module
http_slice_module
http_xslt_module
stream_geoip_module
stream_realip_module
stream_ssl_preread_module
  • Varnish
    • Environment variable VARNISHD_STORAGE_SIZE has been dropped, we no longer add a predefined secondary storage. You can now add your custom secondary storage via VARNISHD_SECONDARY_STORAGE wodby/varnish#4
    • Static files no longer cached unless you set VARNISH_CACHE_STATIC_FILES wodby/drupal-varnish#4
    • Added VARNISH_SECONDARY_STORAGE_CONDITION to specify the condition when to use secondary storage wodby/drupal-varnish#3
  • ❗Host of Drupal nodejs integration container changed from nodejs to drupal-node to avoid confusions
  • Webgrind: changed default error reporting level, rebased to latest PHP 7.1 image

Update instructions

  • Update your .env and docker-compose.yml files
  • If you used Drupal nodejs integration module, update host from nodejs to drupal-node in module settings

5.0.6

27 Apr 10:40
Compare
Choose a tag to compare

Changes since 5.0.5

  • PHP security update: 7.2.5, 7.1.17, 7.0.30, 5.6.36
  • Vanilla Drupal security update: 8.5.3, 7.59
  • Added Elasticsearch and Kibana containers
  • Added Nginx 1.14, patch update for 1.13, now legacy 1.12 dropped
  • Nginx's underscores_in_headers can now be configured
  • Node image replaced to wodby/node with 9, 8 versions
  • Image wodby/drupal-node rebased to wodby/node
  • Simplified xdebug setup for CLI requests debugging for users with Docker CE 18.03+ #283
  • Narrow container terminal is now fixed when use make shell #273
  • Bugfix: vanilla Drupal 7 image update could fail with PHP 7.1

Upgrade instructions

Update your .env and Makefile

5.0.5

19 Apr 13:10
Compare
Choose a tag to compare

Changes since 5.0.4

  • PHP:
    • New php extensions added: GMP and igbinary
    • Bugfix: iconv implementation missing wodby/php#25
    • APCu extension updated to 5.0.11 for PHP 7.x
    • apc.serializer is now configurable via PHP_APCU_SERIALIZER
    • Shell prompt in PHP container now shows user and hostname (defaults to php.container)
    • Added new helper script files_chown
  • Vanilla Drupal:
    • Drupal updated to 8.5.2 (security update)
    • Bugfix: drush cache permission issues #261
    • Allow specifying db prefix via $DB_PREFIX for D8 wodby/drupal#7
    • Added additional images' tags: 8, 7, 6 (uses latest PHP)

Update instructions

Update the following tags in your .env file:

$PHP_TAG=####-4.4.1
$DRUPAL_TAG=####-4.4.1

5.0.4

05 Apr 08:47
Compare
Choose a tag to compare

Changes since 5.0.3

  • New environment variable APACHE_LIMITED_ACCESS to remove Require 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

03 Apr 07:59
Compare
Choose a tag to compare

Changes since 5.0.2

  • PHP:
    • Updated to 7.2.4, 7.1.16, 7.0.35, 5.6.35 (security update)
    • Added jpegoptim ref #255

Update instructions

Update the following images' stability tags in your .env file:

$PHP_TAG=####-4.2.4
$DRUPAL_TAG=####-4.2.5

5.0.2

29 Mar 05:21
Compare
Choose a tag to compare

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) and make 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 remove Require 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

08 Mar 14:23
Compare
Choose a tag to compare
  • Vanilla Drupal updated to 8.5.0
  • Drupal console launcher updated to 1.7.0 and freezed

5.0.0

07 Mar 16:24
Compare
Choose a tag to compare

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 download docker-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/gid 1000 that matches with the default user for most Linux distributions
    • for macOS users we now have -dev-macos versions of images with uid/gid 501:20 that matches default macOS user
    • added instructions for windows users (ref #29 (comment))
  • PHP:
    • Container default user has been changed to wodby (uid/gid 1000), 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 with sudo allowed for all commands for wodby user
    • You can monitor PHP with NewRelic APM
    • allow_url_fopen and default_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
      
  • 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)
  • 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

12 Dec 11:16
Compare
Choose a tag to compare

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

17 Oct 11:55
Compare
Choose a tag to compare

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 to 32m
    • 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 to 32m
    • Optimized default opcache settings
    • New env var PHP_MAX_FILE_UPLOADS to control max_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 and VARNISH_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