Public | Automated Build

Last pushed: 8 months ago
Short Description
A Drupal compatible PHP-FPM image.
Full Description

Drupal compatible PHP-FPM image

This image is indented to be used as a PHP container in a Drupal application's infrastructure. Memcache (memcached for php 7) and uploadprogress PECL extensions available. SOAP PHP extension is also available. Composer is also bundled, and will update itself when the container is ran.

Example docker-compose.yml:

php:
  image: groovycarrot/drupal-php-fpm:5.6
  environment:
    PHP_TIMEZONE: 'Europe/London'
  volumes_from:
    - data

nginx:
  image: groovycarrot/drupal-nginx
  ports:
    - '8000:80'
  volumes_from:
    - data
  links:
    - php:fpm

Development

For development you will need to set the following environment variable, otherwise your code changes will take 60 seconds by default to take effect.

OPCACHE_REVALIDATE_FREQUENCY: 0

Xdebug images

For the -xdebug images the environment variables are available:

PHP_XDEBUG_REMOTE_ENABLE 1
PHP_XDEBUG_REMOTE_AUTOSTART 0
PHP_XDEBUG_REMOTE_CONNECT_BACK 1
PHP_XDEBUG_REMOTE_HANDLER dbgp
PHP_XDEBUG_REMOTE_PORT 9000
PHP_XDEBUG_VAR_DISPLAY_MAX_DEPTH 5
Docker Pull Command
Owner
groovycarrot

Comments (0)