Skip to content

Local environment with Docker4Drupal

Docker4Drupal is an open-source project (GitHub page) that provides pre-configured docker-compose.yml file from to spin up local environment on Linux, Mac OS X and Windows.


The Drupal stack consist of the following containers:

Container Versions Service name Image
Nginx 1.13, 1.12 nginx wodby/drupal-nginx
Apache 2.4 apache wodby/php-apache
Drupal 8, 7, 6 php wodby/drupal
PHP 7.1, 7.0, 5.6, 5.3 php wodby/drupal-php
MariaDB 10.2, 10.1 mariadb wodby/mariadb
PostgreSQL 10.1, 9.6 postgres wodby/postgres
Redis 4.0, 3.2 redis wodby/redis
Varnish 4.1 varnish wodby/drupal-varnish
Solr 7.x, 6.x, 5.5, 5.4 solr wodby/drupal-solr
Node.js 1.0 nodejs wodby/drupal-node
Memcached 1.4 memcached wodby/memcached
Webgrind 1.5 webgrind wodby/webgrind
Blackfire latest blackfire blackfire/blackfire
Rsyslog latest rsyslog wodby/rsyslog
AthenaPDF 2.10.0 athenapdf arachnysdocker/athenapdf-service
Mailhog latest mailhog mailhog/mailhog
Adminer 4.3 adminer wodby/adminer
phpMyAdmin latest pma phpmyadmin/phpmyadmin
Node latest node _/node
Portainer latest portainer portainer/portainer
Traefik latest traefik _/traefik

Supported Drupal versions: 8 / 7 / 6