PHP docker container image for Drupal
Shell Makefile Dockerfile PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

PHP (FPM) for Drupal Docker Container Image

Build Status Docker Pulls Docker Stars Docker Layers

Docker Images

❗For better reliability we release images with stability tags (wodby/drupal-php:7.1-X.X.X) which correspond to git tags. We strongly recommend using images only with stability tags.

Overview:

Supported tags and respective Dockerfile links:

The 5.3 version is no longer supported by PHP team, we highly encourage switching to 5.6

See wodby/php for the exact PHP version

Tools

Tool 7.2 7.1 7.0 5.6
Drupal Console Launcher 1.8.0 1.8.0 1.8.0 -
Drush 8.x 8.x 8.x 8.x
Drush Launcher 0.6.0 0.6.0 0.6.0 0.6.0
Drush Patchfile latest latest latest latest
Drush Registry Rebuild 7.x 7.x 7.x 7.x

Environment Variables

Variable Default Value Description
DRUPAL8_REVERSE_PROXY_ADDRESSES
PHP_ALWAYS_POPULATE_RAW_POST_DATA -1 <= 5.6
PHP_MBSTRING_ENCODING_TRANSLATION Off <= 5.6
PHP_MBSTRING_HTTP_INPUT pass <= 5.6
PHP_MBSTRING_HTTP_OUTPUT pass <= 5.6
PHP_OUTPUT_BUFFERING 16384
PHP_REALPATH_CACHE_SIZE 64k <= 5.6
PHP_REALPATH_CACHE_TTL 3600
PHP_SESSION_AUTO_START 0 <= 5.6

See wodby/php for all variables

Orchestration Actions

Usage:

make COMMAND [params ...]
 
commands:
    git-checkout target [ is_hash]
    drush-import source
    init-drupal   
    cache-clear target
    cache-rebuild
    
default params values:
    target all
    is_hash 0 

See wodby/php for all actions

Complete Drupal Stack

See wodby/docker4drupal