PHPackages                             nrel/docker4drupal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. nrel/docker4drupal

ActiveCommunications-docker-framework[DevOps &amp; Deployment](/categories/devops)

nrel/docker4drupal
==================

Composer Plugin to prepare local Drupal development environment for Docker.

005Shell

Since Jan 28Pushed 6y agoCompare

[ Source](https://github.com/NREL/docker4drupal)[ Packagist](https://packagist.org/packages/nrel/docker4drupal)[ RSS](/packages/nrel-docker4drupal/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Docker-based Drupal stack
=========================

[](#docker-based-drupal-stack)

[![Build Status](https://camo.githubusercontent.com/5cb8210c21341cf1a3982c428438634d52e821b408d67ca60b30d4071d7a2cc9/68747470733a2f2f7472617669732d63692e6f72672f776f6462792f646f636b65723464727570616c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wodby/docker4drupal)

Introduction
------------

[](#introduction)

Docker4Drupal is a set of docker images optimized for Drupal. Use `docker-compose.yml` file from the [latest stable release](https://github.com/wodby/docker4drupal/releases) to spin up local environment on Linux, Mac OS X and Windows.

- Read the docs on [**how to use**](https://wodby.com/docs/stacks/drupal/local#usage)
- Join our community on [Spectrum](https://spectrum.chat/wodby/drupal) and ask questions in `#Drupal` channel
- Follow [@wodbycloud](https://twitter.com/wodbycloud) for future announcements

Stack
-----

[](#stack)

The Drupal stack consist of the following containers:

ContainerVersionsService nameImageDefault[Nginx](https://wodby.com/docs/stacks/drupal/containers#nginx)1.17, 1.16`nginx`[wodby/nginx](https://github.com/wodby/nginx)✓[Apache](https://wodby.com/docs/stacks/drupal/containers#apache)2.4`apache`[wodby/apache](https://github.com/wodby/apache)[Drupal](https://wodby.com/docs/stacks/drupal/containers#php)8, 7`php`[wodby/drupal](https://github.com/wodby/drupal)✓[PHP](https://wodby.com/docs/stacks/drupal/containers#php)7.3, 7.2, 7.1, 5.6`php`[wodby/drupal-php](https://github.com/wodby/drupal-php)[MariaDB](https://wodby.com/docs/stacks/drupal/containers#mariadb)10.4, 10.3, 10.2, 10.1`mariadb`[wodby/mariadb](https://github.com/wodby/mariadb)✓[PostgreSQL](https://wodby.com/docs/stacks/drupal/containers#postgresql)12, 11, 10, 9.x`postgres`[wodby/postgres](https://github.com/wodby/postgres)[Redis](https://wodby.com/docs/stacks/drupal/containers#redis)5, 4`redis`[wodby/redis](https://github.com/wodby/redis)[Memcached](https://wodby.com/docs/stacks/drupal/containers#memcached)1`memcached`[wodby/memcached](https://github.com/wodby/memcached)[Varnish](https://wodby.com/docs/stacks/drupal/containers#varnish)6.0, 4.1`varnish`[wodby/varnish](https://github.com/wodby/varnish)[Node.js](https://wodby.com/docs/stacks/drupal/containers#nodejs)12, 10, 8`node`[wodby/node](https://github.com/wodby/node)[Drupal node](https://wodby.com/docs/stacks/drupal/containers#drupal-nodejs)1.0`drupal-node`[wodby/drupal-node](https://github.com/wodby/drupal-node)[Solr](https://wodby.com/docs/stacks/drupal/containers#solr)8, 7, 6, 5`solr`[wodby/solr](https://github.com/wodby/solr)[Elasticsearch](https://wodby.com/docs/stacks/elasticsearch)7, 6`elasticsearch`[wodby/elasticsearch](https://github.com/wodby/elasticsearch)[Kibana](https://wodby.com/docs/stacks/elasticsearch)7, 6`kibana`[wodby/kibana](https://github.com/wodby/kibana)[OpenSMTPD](https://wodby.com/docs/stacks/drupal/containers#opensmtpd)6.0`opensmtpd`[wodby/opensmtpd](https://github.com/wodby/opensmtpd)[Mailhog](https://wodby.com/docs/stacks/drupal/containers#mailhog)latest`mailhog`[mailhog/mailhog](https://hub.docker.com/r/mailhog/mailhog)✓[AthenaPDF](https://wodby.com/docs/stacks/drupal/containers#athenapdf)2.10.0`athenapdf`[arachnysdocker/athenapdf-service](https://hub.docker.com/r/arachnysdocker/athenapdf-service)[Rsyslog](https://wodby.com/docs/stacks/drupal/containers#rsyslog)latest`rsyslog`[wodby/rsyslog](https://hub.docker.com/r/wodby/rsyslog)[Blackfire](https://wodby.com/docs/stacks/drupal/containers#blackfire)latest`blackfire`[blackfire/blackfire](https://hub.docker.com/r/blackfire/blackfire)[Webgrind](https://wodby.com/docs/stacks/drupal/containers#webgrind)1`webgrind`[wodby/webgrind](https://hub.docker.com/r/wodby/webgrind)[Xhprof viewer](https://wodby.com/docs/stacks/php/containers#xhprof-viewer)latest`xhprof`[wodby/xhprof](https://hub.docker.com/r/wodby/xhprof)Adminer4.6`adminer`[wodby/adminer](https://hub.docker.com/r/wodby/adminer)phpMyAdminlatest`pma`[phpmyadmin/phpmyadmin](https://hub.docker.com/r/phpmyadmin/phpmyadmin)Selenium chrome3.141`chrome`[selenium/standalone-chrome](https://hub.docker.com/r/selenium/standalone-chrome)Portainerlatest`portainer`[portainer/portainer](https://hub.docker.com/r/portainer/portainer)✓Traefiklatest`traefik`[\_/traefik](https://hub.docker.com/_/traefik)✓Supported Drupal versions: 8 / 7

❗️PHP 5.6 [has reached end of life](http://php.net/supported-versions.php) and no longer supported by PHP team. PHP 7.1 is currently in security fix only mode. We strongly advise you to migrate to the latest stable PHP version.

Documentation
-------------

[](#documentation)

Full documentation is available at .

Images' tags
------------

[](#images-tags)

Images tags format is `[VERSION]-[STABILITY_TAG]` where:

`[VERSION]` is the *version of an application* (without patch version) running in a container, e.g. `wodby/nginx:1.15-x.x.x` where Nginx version is `1.15` and `x.x.x` is a stability tag. For some images we include both major and minor version like PHP `7.2`, for others we include only major like Redis `5`.

`[STABILITY_TAG]` is the *version of an image* that corresponds to a git tag of the image repository, e.g. `wodby/mariadb:10.2-3.3.8` has MariaDB `10.2` and stability tag [`3.3.8`](https://github.com/wodby/mariadb/releases/tag/3.3.8). New stability tags include patch updates for applications and image's fixes/improvements (new env vars, orchestration actions fixes, etc). Stability tag changes described in the corresponding a git tag description. Stability tags follow [semantic versioning](https://semver.org/).

We highly encourage to use images only with stability tags.

Maintenance
-----------

[](#maintenance)

We regularly update images used in this stack and release them together, see [releases page](https://github.com/wodby/docker4drupal/releases) for full changelog and update instructions. Most of routine updates for images and this project performed by [the bot](https://github.com/wodbot) via scripts located at [wodby/images](https://github.com/wodby/images).

Beyond local environment
------------------------

[](#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](https://wodby.com/stacks/drupal) on Wodby [![](https://camo.githubusercontent.com/efb9a3c3b2fc052afbf16b1bc424816bd362e1661cf0e6338c194488a6ad895f/68747470733a2f2f7777772e676f6f676c652e636f6d2f73322f66617669636f6e733f646f6d61696e3d776f6462792e636f6d)](https://camo.githubusercontent.com/efb9a3c3b2fc052afbf16b1bc424816bd362e1661cf0e6338c194488a6ad895f/68747470733a2f2f7777772e676f6f676c652e636f6d2f73322f66617669636f6e733f646f6d61696e3d776f6462792e636f6d).

Other Docker4x projects
-----------------------

[](#other-docker4x-projects)

- [docker4php](https://github.com/wodby/docker4php)
- [docker4wordpress](https://github.com/wodby/docker4wordpress)
- [docker4ruby](https://github.com/wodby/docker4ruby)
- [docker4python](https://github.com/wodby/docker4python)

License
-------

[](#license)

This project is licensed under the MIT open source license.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 51.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/399d67b5f044fadc29d052caa6cf1e0d43250dac95c1d0167dcecadb90698ba7?d=identicon)[nomad](/maintainers/nomad)

---

Top Contributors

[![wodbot](https://avatars.githubusercontent.com/u/41817610?v=4)](https://github.com/wodbot "wodbot (540 commits)")[![csandanov](https://avatars.githubusercontent.com/u/1058233?v=4)](https://github.com/csandanov "csandanov (393 commits)")[![pprishchepa](https://avatars.githubusercontent.com/u/1525104?v=4)](https://github.com/pprishchepa "pprishchepa (67 commits)")[![irmantasp](https://avatars.githubusercontent.com/u/11249028?v=4)](https://github.com/irmantasp "irmantasp (5 commits)")[![iryston](https://avatars.githubusercontent.com/u/1258460?v=4)](https://github.com/iryston "iryston (4 commits)")[![martinfrances107](https://avatars.githubusercontent.com/u/1259969?v=4)](https://github.com/martinfrances107 "martinfrances107 (4 commits)")[![ericmulder1980](https://avatars.githubusercontent.com/u/1055651?v=4)](https://github.com/ericmulder1980 "ericmulder1980 (3 commits)")[![shrop](https://avatars.githubusercontent.com/u/14832?v=4)](https://github.com/shrop "shrop (3 commits)")[![iVegas](https://avatars.githubusercontent.com/u/11544787?v=4)](https://github.com/iVegas "iVegas (3 commits)")[![heilop](https://avatars.githubusercontent.com/u/1482635?v=4)](https://github.com/heilop "heilop (3 commits)")[![clemens-tolboom](https://avatars.githubusercontent.com/u/371014?v=4)](https://github.com/clemens-tolboom "clemens-tolboom (2 commits)")[![fortis](https://avatars.githubusercontent.com/u/1042494?v=4)](https://github.com/fortis "fortis (2 commits)")[![jsobiecki](https://avatars.githubusercontent.com/u/194031?v=4)](https://github.com/jsobiecki "jsobiecki (2 commits)")[![larowlan](https://avatars.githubusercontent.com/u/555254?v=4)](https://github.com/larowlan "larowlan (2 commits)")[![siliconmeadow](https://avatars.githubusercontent.com/u/158008?v=4)](https://github.com/siliconmeadow "siliconmeadow (2 commits)")[![0xCardiE](https://avatars.githubusercontent.com/u/8969767?v=4)](https://github.com/0xCardiE "0xCardiE (1 commits)")[![duGuillaume](https://avatars.githubusercontent.com/u/22149314?v=4)](https://github.com/duGuillaume "duGuillaume (1 commits)")[![jfrederick](https://avatars.githubusercontent.com/u/1637613?v=4)](https://github.com/jfrederick "jfrederick (1 commits)")[![cnovak](https://avatars.githubusercontent.com/u/613093?v=4)](https://github.com/cnovak "cnovak (1 commits)")[![kasn](https://avatars.githubusercontent.com/u/800250?v=4)](https://github.com/kasn "kasn (1 commits)")

### Embed Badge

![Health badge](/badges/nrel-docker4drupal/health.svg)

```
[![Health](https://phpackages.com/badges/nrel-docker4drupal/health.svg)](https://phpackages.com/packages/nrel-docker4drupal)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
