All Projects → dwnload → wp-docker-bedrock

dwnload / wp-docker-bedrock

Licence: other
[UNSUPPORTED] Roots Bedrock for WordPress running on Docker.

Programming Languages

shell
77523 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to wp-docker-bedrock

wp-smtp
Simple package for handling WordPress SMTP with .env when using the Roots stack.
Stars: ✭ 31 (-38%)
Mutual labels:  bedrock, roots
wp-config
Bedrock's failsafe wp-config
Stars: ✭ 45 (-10%)
Mutual labels:  bedrock, roots
mcwzh-meme-resourcepack-bedrock
An add-on that include meme translation in Chinese. | 梗体中文基岩版
Stars: ✭ 38 (-24%)
Mutual labels:  bedrock
papyruscs
PapyrusCS renders maps of Minecraft: Bedrock Edition worlds using C#, LevelDB and leaflet.
Stars: ✭ 221 (+342%)
Mutual labels:  bedrock
minecraft-worldedit-bedrock
World Edit for Minecraft bedrock
Stars: ✭ 48 (-4%)
Mutual labels:  bedrock
LiteXLoader
This project has been merged into LiteLoaderBDS 👇 click below to new project 本项目已经合并到 LiteLoaderBDS 项目中 👇 点击前往 https://github.com/LiteLDev/LiteLoaderBDS
Stars: ✭ 84 (+68%)
Mutual labels:  bedrock
wordpress-scaffold
The scaffold for GRRR's WordPress Pro setup.
Stars: ✭ 16 (-68%)
Mutual labels:  bedrock
BedrockBackwards
Connects older clients to newer servers
Stars: ✭ 24 (-52%)
Mutual labels:  bedrock
dudestack
A toolkit for creating a new professional WordPress project with deployments. Originally based on Roots/bedrock.
Stars: ✭ 82 (+64%)
Mutual labels:  bedrock
docs
The source of the bedrock.dev docs
Stars: ✭ 17 (-66%)
Mutual labels:  bedrock
WaterdogPE
Brand new proxy server for Minecraft: Bedrock Edition
Stars: ✭ 164 (+228%)
Mutual labels:  bedrock
bedrock-wordpress-docker
Dockerized Wordpress using Bedrock
Stars: ✭ 36 (-28%)
Mutual labels:  bedrock
MinecraftDeveloperGuide
📝Minecraft developer Chinese guide,我的世界开发者中文指南
Stars: ✭ 1,307 (+2514%)
Mutual labels:  bedrock
tiny-blocks
WordPress block editor framework
Stars: ✭ 31 (-38%)
Mutual labels:  roots
Minecraft-bedrock-json-schemas
The JSON validation schema files for Minecraft bedrock
Stars: ✭ 17 (-66%)
Mutual labels:  bedrock
acorn-db
Provides Acorn projects with Eloquent Models for WordPress data.
Stars: ✭ 30 (-40%)
Mutual labels:  roots
bedrock-server
Minecraft Bedrock (MCPE) Server on Docker
Stars: ✭ 47 (-6%)
Mutual labels:  bedrock
sage-xpress
A collection of Roots/Sage 9.x-beta providers for rapid theme development. Xpress adds configurable app-like functionality to the Sage Container.
Stars: ✭ 26 (-48%)
Mutual labels:  roots
trellis-cli
A CLI to manage Trellis projects
Stars: ✭ 141 (+182%)
Mutual labels:  roots
bedrock-emotes
A collection of all Bedrock Edition emote UUIDs currently in the game.
Stars: ✭ 70 (+40%)
Mutual labels:  bedrock

Roots Bedrock for WordPress running on Docker

This is a Docker based local development environment for WordPress with Roots Bedrock.

What's Inside

This project is based on docker-compose. By default, the following containers are started: PHP-FPM, MariaDB, Elasticsearch, nginx, and Memcached. The /site/web directory is the web root which is mapped to the nginx container. See Bedrock for more info.

Docs from 10up/wp-docker

You can directly edit PHP, nginx, and Elasticsearch configuration files from within the repo as they are mapped to the correct locations in containers.

A Dockerfile is included for PHP-FPM (/dockerfiles/php-fpm/Dockerfile). This adds a few extra things to the PHP-FPM image.

The /config/elasticsearch/plugins folder is mapped to the plugins folder in the Elasticsearch container. You can drop Elasticsearch plugins in this folder to have them installed within the container.

Requirements

Setup

  1. git clone [email protected]:dwnload/wp-docker-bedrock.git <my-project-name>
  2. cd <my-project-name>
  3. docker-compose up
  4. Run bash ./bin/setup.sh to download Bedrock.

Default MySQL connection information (from within PHP-FPM container):

Database: wordpress
Username: wordpress
Password: password
Host: mysql

Default Elasticsearch connection information (from within PHP-FPM container):

Host: http://elasticsearch:9200

Docker Compose Overrides File

Adding a docker-compose.override.yml file alongside the docker-compose.yml file, with contents similar to the following, allows you to change the domain associated with the cluster while retaining the ability to pull in changes from the repo.

version: '2'
services:
  phpfpm:
    extra_hosts:
      - "dashboard.dev:172.18.0.1"

WP-CLI

Add this alias to ~/.bash_profile to easily run WP-CLI command.

alias dcwp='docker-compose exec --user www-data phpfpm wp'

Instead of running a command like wp plugin install you instead run dcwp plugin install from anywhere inside the <my-project-name> directory, and it runs the command inside of the php container.

There is also a script in the /bin directory that will allow you to execute WP CLI from the project directory directly: ./bin/wp plugin install.

SSH Access

You can easily access the WordPress/PHP container with docker-compose exec. Here's a simple alias to add to your ~/.bash_profile:

alias dcbash='docker-compose exec --user root phpfpm bash'

This alias lets you run dcbash to SSH into the PHP/WordPress container.

Alternatively, there is a script in the /bin directory that allows you to SSH in to the environment from the project directory directly: ./bin/ssh.

Credits

This project is our own flavor of an environment created by the 10up team based on work by John Bloch. Some additional code was used from easypath/bedrock-docker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].