Docker-based Drupal stack
Clone or download

Docker-based Drupal stack

Build Status


Docker4Drupal is a set of docker images optimized for Drupal. Use docker-compose.yml file from the latest stable release 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 Default
Nginx 1.15, 1.14 nginx wodby/nginx
Apache 2.4 apache wodby/apache
Drupal 8, 7, 6 php wodby/drupal
PHP 7.x, 5.6, 5.3 php wodby/drupal-php
MariaDB 10.3, 10.2, 10.1 mariadb wodby/mariadb
PostgreSQL 10, 9.x postgres wodby/postgres
Redis 4.0, 3.2 redis wodby/redis
Varnish 4.1 varnish wodby/varnish
Node.js 10.9, 8.11, 6.14 node wodby/node
Drupal node 1.0 drupal-node wodby/drupal-node
Solr 7.x, 6.6, 5.5, 5.4 solr wodby/solr
Elasticsearch 6.x, 5.6, 5.5, 5.4 elasticsearch wodby/elasticsearch
Kibana 6.x, 5.6, 5.5, 5.4 kibana wodby/kibana
Memcached 1.5 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
OpenSMTPD 6.0 opensmtpd wodby/opensmtpd
Adminer 4.6 adminer wodby/adminer
phpMyAdmin latest pma phpmyadmin/phpmyadmin
Portainer latest portainer portainer/portainer
Traefik latest traefik _/traefik

Supported Drupal versions: 8 / 7 / 6


Full documentation is available at

Beyond local environment

Docker4Drupal is a project designed to help you spin up local environment with docker-compose. If you want to deploy a consistent stack with orchestrations to your own server, check out Drupal stack on Wodby .


We regularly update images used in this stack and release them together, see releases page for full changelog and update instructions.


This project is licensed under the MIT open source license.