PHPackages                             dbtlr/wp-docker-dev - 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. dbtlr/wp-docker-dev

ActiveProject[DevOps &amp; Deployment](/categories/devops)

dbtlr/wp-docker-dev
===================

A Docker-based WordPress development environment

v1.0.0(7y ago)18MITPHP &gt;=7.1

Since Aug 18Pushed 7y agoCompare

[ Source](https://github.com/dbtlr/wp-docker-dev)[ Packagist](https://packagist.org/packages/dbtlr/wp-docker-dev)[ RSS](/packages/dbtlr-wp-docker-dev/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

WordPress Docker Development Enviorment
=======================================

[](#wordpress-docker-development-enviorment)

Quick Start
-----------

[](#quick-start)

This assumes you have [Composer](https://getcomposer.org) installed locally to help orchastrate local tools.

```
composer create-project dbtlr/wp-docker-dev wp-site
```

This will create a new `wp-site` directory, download the dependencies, and will also ask you a series of questions that are used to build a `.env` file which will be used to configure your Docker deploy.

Here's an example of the .env file that is created:

```
NAME=wp
DOMAIN=wp.loc
PHP_VERSION=7.2
WORDPRESS_VERSION=latest
MYSQL_ROOT_PASSWORD=rootpassword
IP_ROOT=172.16.200

```

Yous should also add an entry to your `/etc/hosts` file that maps the DOMAIN above to 127.0.0.1

If you're running multiple Docker instances, then change the IP\_ROOT to another number, i.e. `172.16.201` to avoid conflicts.

### Launch Docker Compose

[](#launch-docker-compose)

```
docker-compose up
```

Once you see `Command line: 'apache2 -D FOREGROUND'` has completed, you should be able to navigate to http://$DOMAIN in your web browser.

If you wish to run Docker in the background, use

```
docker-compose up -d
```

In order to halt a Docker container running in the background, instead use:

```
docker-compose down
```

Your files
----------

[](#your-files)

In the `src/` directory you'll find 3 folders:

- `src/mu-plugins`
- `src/plugins`
- `src/themes`

These are read-only mounts that you're able to update, but that the Docker container cannot change. This is done by default so that you handle maintaining your files using source control and not allow WordPress to accidently destory your work through its own automated install process.

Consider managing your plugins and themes using [WPackagist](https://wpackagist.org/) instead. For your convenience, the basic composer configuration is included.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2875d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/195095?v=4)[Drew Butler](/maintainers/dbtlr)[@dbtlr](https://github.com/dbtlr)

---

Top Contributors

[![dbtlr](https://avatars.githubusercontent.com/u/195095?v=4)](https://github.com/dbtlr "dbtlr (3 commits)")

---

Tags

wordpressenvironmentdevelopmentdockerpluginsthemes

### Embed Badge

![Health badge](/badges/dbtlr-wp-docker-dev/health.svg)

```
[![Health](https://phpackages.com/badges/dbtlr-wp-docker-dev/health.svg)](https://phpackages.com/packages/dbtlr-wp-docker-dev)
```

###  Alternatives

[wpbones/wpbones

WordPress framework for Laravel developers

1705.2k1](/packages/wpbones-wpbones)

PHPackages © 2026

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